#CFC24C#CFC24C

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

Color values

HEX#CFC24C
RGBrgb(207, 194, 76)
HSLhsl(54, 58%, 55%)
HSVhsv(54, 63%, 81%)
CMYKcmyk(0%, 6.3%, 63.3%, 18.8%)
CIE-LABlab(77.50, -9.53, 59.07)
CIE-LCHlch(77.50, 59.83, 99.17°)
OKLaboklab(80.28% -0.0311 0.1343)
OKLCHoklch(80.28% 0.138 103)
XYZxyz(46.3302, 52.3726, 14.5045)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC24C #4C59CF
analogous
#CF804C #CFC24C #9ACF4C
triadic
#CFC24C #4CCFC2 #C24CCF
tetradic
#CFC24C #4CCF80 #4C59CF #CF4C9A
square
#CFC24C #4CCF80 #4C59CF #CF4C9A
split-complementary
#CFC24C #4C9ACF #804CCF
monochromatic
#7F7522 #AFA22F #CFC24C #DCD27C #E9E3AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC24C#FFFFFF#000000##000000
##CFC24C1.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)
#D3BC3E
Deuteranopia (green-blind)
#D7C253
Tritanopia (blue-blind)
#DEB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc24c;
/* rgb */ color: rgb(207, 194, 76);
/* oklch */ color: oklch(80.3% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#e1d483',
    500: '#cfc24c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc24c;
$custom-light: #e1d483;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc24c",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 54.046,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80279,
    "c": 0.13783,
    "h": 103
  },
  "luminance": 0.52371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC24C

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

Preview Lab → · Contrast checker → · Palette generator →

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