#CFC24A#CFC24A

#CFC24A is a light, vivid yellow. Relative luminance 0.523; 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#CFC24A
RGBrgb(207, 194, 74)
HSLhsl(54, 58%, 55%)
HSVhsv(54, 64%, 81%)
CMYKcmyk(0%, 6.3%, 64.3%, 18.8%)
CIE-LABlab(77.49, -9.65, 59.89)
CIE-LCHlch(77.49, 60.67, 99.16°)
OKLaboklab(80.26% -0.0316 0.1357)
OKLCHoklch(80.26% 0.139 103.1)
XYZxyz(46.2617, 52.3452, 14.1440)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC24A #4A57CF
analogous
#CF7F4A #CFC24A #9ACF4A
triadic
#CFC24A #4ACFC2 #C24ACF
tetradic
#CFC24A #4ACF7F #4A57CF #CF4A9A
square
#CFC24A #4ACF7F #4A57CF #CF4A9A
split-complementary
#CFC24A #4A9ACF #7F4ACF
monochromatic
#7D7421 #AEA12E #CFC24A #DCD27A #E9E3AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC24A#FFFFFF#000000##000000
##CFC24A1.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)
#D3BC3B
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#DEB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc24a;
/* rgb */ color: rgb(207, 194, 74);
/* oklch */ color: oklch(80.3% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#e1d482',
    500: '#cfc24a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc24a;
$custom-light: #e1d482;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc24a",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 54.135,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80261,
    "c": 0.13937,
    "h": 103.1
  },
  "luminance": 0.52343
}

Semantic roles & 50–950 ramp

primary
#CFC24A
secondary
#384085
accent
#56E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC24A

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

Preview Lab → · Contrast checker → · Palette generator →

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