#CFC24B#CFC24B

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

Color values

HEX#CFC24B
RGBrgb(207, 194, 75)
HSLhsl(54, 58%, 55%)
HSVhsv(54, 64%, 81%)
CMYKcmyk(0%, 6.3%, 63.8%, 18.8%)
CIE-LABlab(77.49, -9.59, 59.48)
CIE-LCHlch(77.49, 60.25, 99.16°)
OKLaboklab(80.27% -0.0314 0.135)
OKLCHoklch(80.27% 0.139 103.1)
XYZxyz(46.2957, 52.3588, 14.3229)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC24B #4B58CF
analogous
#CF804B #CFC24B #9ACF4B
triadic
#CFC24B #4BCFC2 #C24BCF
tetradic
#CFC24B #4BCF80 #4B58CF #CF4B9A
square
#CFC24B #4BCF80 #4B58CF #CF4B9A
split-complementary
#CFC24B #4B9ACF #804BCF
monochromatic
#7E7522 #AEA22E #CFC24B #DCD27B #E9E3AC

Accessibility & contrast

On white

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

On black

11.47
#CFC24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC24B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC24B#FFFFFF#000000##000000
##CFC24B1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3C
Deuteranopia (green-blind)
#D7C252
Tritanopia (blue-blind)
#DEB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc24b;
/* rgb */ color: rgb(207, 194, 75);
/* oklch */ color: oklch(80.3% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#e1d483',
    500: '#cfc24b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc24b;
$custom-light: #e1d483;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc24b",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 75
  },
  "hsl": {
    "h": 54.091,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8027,
    "c": 0.1386,
    "h": 103.1
  },
  "luminance": 0.52357
}

Semantic roles & 50–950 ramp

primary
#CFC24B
secondary
#394086
accent
#56E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC24B

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

Preview Lab → · Contrast checker → · Palette generator →

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