Crayola crayon color

Crayola Sunglow #FFCF48

Crayola Sunglow is shown here as #FFCF48, the commonly published value for the crayon. It is a pale soft amber in the yellow family. In OKLCH it sits at lightness 0.874, chroma 0.155 and hue 88.6°. The nearest CSS named color is gold (#FFD700), ΔE2000 5.2 away.

Relative luminance
0.6635
OKLCH L · C · h
0.874 · 0.155 · 88.6
Best text
Black 14.27:1
Hue family
Yellow

#FFCF48 color codes

HEX
#FFCF48
RGB
rgb(255, 207, 72)
HSL
hsl(44, 100%, 64%)
OKLCH
oklch(0.874 0.155 88.6)
OKLab
oklab(0.874 0.004 0.155)
CIELAB (D65)
L* 85.18, a* 3.78, b* 69.95
XYZ (D65)
X 64.73, Y 66.36, Z 15.53
CMYK (naive)
cmyk(0%, 19%, 72%, 0%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.

Legibility

Contrast: is #FFCF48 accessible?

Black text on it reaches 14.27:1, passing AAA. White text fails at 1.47:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    14.27:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +81
  • White text on it

    1.47:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −25

    Text is here, unreadable at 1.47:1

  • As text on black

    14.27:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −81
  • As text on white

    1.47:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +22

    Text is here, unreadable at 1.47:1

Nearest versions that pass 4.5:1

  • For text on white

    #937200 4.51:1

    Darkening its OKLCH lightness from 0.87 to 0.57 reaches 4.51:1 on white, keeping the hue.

  • For text on black

    #FFCF48 14.27:1

    It already reaches 14.27:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #FFCF48 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #FFCF48

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #FFCF48 sits at step 200.

  1. 50#FFF4DA
    White
    1.09
    Black
    19.20
  2. 100#FFE9B4
    White
    1.19
    Black
    17.56
  3. 200This color#FFCF48
    White
    1.47
    Black
    14.27
  4. 300#E4B839
    White
    1.87
    Black
    11.21
  5. 400#C69B00
    White
    2.59
    Black
    8.08
  6. 500#A58100
    White
    3.65
    Black
    5.73
  7. 600#896A00
    White
    5.09
    Black
    4.12
  8. 700#6D5400
    White
    7.19
    Black
    2.91
  9. 800#503D00
    White
    10.45
    Black
    2.00
  10. 900#342700
    White
    14.62
    Black
    1.43
  11. 950#1E1500
    White
    18.06
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #FFCF48 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.155; #FFCF48 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.191 there: 23% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.155
sRGB edge
0.155
Display P3 edge
0.191
Rec. 2020 edge
0.211
Dominant wavelength
577 nm
Excitation purity
71%
Chromaticity
x 0.4415, y 0.4526
  • This color#FFCF48
  • Most vivid in sRGB#FFCF48
  • Most vivid in Display P3oklch(0.874 0.191 88.6)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #ffcf48;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 1 0.8099 0.2036); }
}

Mixing

Mixing #FFCF48

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#FFE7A4
  • OKLab50%#FFE8AF
  • OKLCH50%#FFE8B0

Black #000000

  • sRGB50%#806824
  • OKLab50%#634F16
  • OKLCH50%#634F16

Its complement #C4D5FF

  • sRGB50%#E2D2A4
  • OKLab50%#E2D5B3
  • OKLCH50%#7EEDD6
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ffcf48, white);
color: color-mix(in oklch, #ffcf48 50%, white);

In use

#FFCF48 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:114.27:1 Passes
  • Link and body-size textText, 4.5:11.47:1 Fails
  • Large headingLarge text, 3:11.47:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.47:1 Fails

For text on this page, the nearest shade that passes is #937200 4.51:1

Dark page

  • Button labelText, 4.5:114.27:1 Passes
  • Link and body-size textText, 4.5:112.73:1 Passes
  • Large headingLarge text, 3:112.73:1 Passes
  • Icons, borders and focus ringsNon-text, 3:112.73:1 Passes

Color vision

How #FFCF48 looks with color blindness

Tritanopia changes it most, ΔE2000 30.4; protanopia changes it least, 6.3.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #E7CD34 ΔE2000 6.3

    Noticeable

    Reads as pale soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #F2DA4F ΔE2000 6.6

    Noticeable

    Reads as pale soft amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FFBEB4 ΔE2000 30.4

    Distinct

    Reads as pale muted red

  • Achromatopsia

    No cone color vision; lightness only

    #D5D5D5 ΔE2000 27.2

    Distinct

    Reads as light gray

Pairing check

Checked against its complement, #C4D5FF. Their lightness contrast is only 1.00:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#FFCF48 · #C4D5FF44.6Stays distinct
Protanopia#E7CD34 · #C8D8FF45.5Stays distinct
Deuteranopia#F2DA4F · #C3D3FE46.3Stays distinct
Tritanopia#FFBEB4 · #B5DDE334.6Stays distinct
Achromatopsia#D5D5D5 · #D5D5D50.0Easily confused

Harmony

Color harmonies for #FFCF48

Its complement is #C4D5FF, a pale muted blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#FFCF48
  • Complement#C4D5FF

Complementary

Open in Harmony Studio
  • −30°#FFC9A0
  • Base#FFCF48
  • +30°#CBE364
  • Base#FFCF48
  • +120°#65EBFF
  • +240°#FFBBFB
  • Base#FFCF48
  • +150°#ABDDFF
  • +210°#DBCCFF

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-crayola-sunglow: #ffcf48;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'crayola-sunglow': '#ffcf48',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-crayola-sunglow: oklch(0.874 0.155 88.6);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-sunglow": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [1, 0.8118, 0.2824],
        "hex": "#ffcf48"
      },
      "$description": "Crayola Sunglow"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaSunglow = Color(.sRGB, red: 1.000, green: 0.812, blue: 0.282, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaSunglow = Color(0xFFFFCF48)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #FFCF48 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.