#CFC24F#CFC24F

#CFC24F is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.135 H 102.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CFC24F
RGBrgb(207, 194, 79)
HSLhsl(54, 57%, 56%)
HSVhsv(54, 62%, 81%)
CMYKcmyk(0%, 6.3%, 61.8%, 18.8%)
CIE-LABlab(77.53, -9.34, 57.81)
CIE-LCHlch(77.53, 58.56, 99.18°)
OKLaboklab(80.31% -0.0302 0.1321)
OKLCHoklch(80.31% 0.135 102.9)
XYZxyz(46.4369, 52.4153, 15.0667)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC24F #4F5CCF
analogous
#CF824F #CFC24F #9CCF4F
triadic
#CFC24F #4FCFC2 #C24FCF
tetradic
#CFC24F #4FCF82 #4F5CCF #CF4F9C
square
#CFC24F #4FCF82 #4F5CCF #CF4F9C
split-complementary
#CFC24F #4F9CCF #824FCF
monochromatic
#817723 #B1A430 #CFC24F #DCD37F #E9E3AF

Accessibility & contrast

On white

1.83
#CFC24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CFC24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC24F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC24F#FFFFFF#000000##000000
##CFC24F1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC42
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#DEB5AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc24f;
/* rgb */ color: rgb(207, 194, 79);
/* oklch */ color: oklch(80.3% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#e1d485',
    500: '#cfc24f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc24f;
$custom-light: #e1d485;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc24f",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 53.906,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80307,
    "c": 0.13545,
    "h": 102.9
  },
  "luminance": 0.52413
}

Semantic roles & 50–950 ramp

primary
#CFC24F
secondary
#3A4288
accent
#57E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC24F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFC24F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva