#CFC94D#CFC94D

#CFC94D is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.144 H 106.5°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CFC94D
RGBrgb(207, 201, 77)
HSLhsl(57, 58%, 56%)
HSVhsv(57, 63%, 81%)
CMYKcmyk(0%, 2.9%, 62.8%, 18.8%)
CIE-LABlab(79.37, -13.02, 60.64)
CIE-LCHlch(79.37, 62.02, 102.12°)
OKLaboklab(81.77% -0.0409 0.1378)
OKLCHoklch(81.77% 0.144 106.5)
XYZxyz(47.9600, 55.5761, 15.2207)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC94D #4D53CF
analogous
#CF884D #CFC94D #94CF4D
triadic
#CFC94D #4DCFC9 #C94DCF
tetradic
#CFC94D #4DCF88 #4D53CF #CF4D94
square
#CFC94D #4DCF88 #4D53CF #CF4D94
split-complementary
#CFC94D #4D94CF #884DCF
monochromatic
#7F7B22 #AFAA2F #CFC94D #DCD87D #E9E6AD

Accessibility & contrast

On white

1.73
#CFC94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CFC94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC94D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC94D#FFFFFF#000000##000000
##CFC94D1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23E
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc94d;
/* rgb */ color: rgb(207, 201, 77);
/* oklch */ color: oklch(81.8% 0.144 106.5);
Tailwind
colors: {
  custom: {
    50: '#e1d984',
    500: '#cfc94d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc94d;
$custom-light: #e1d984;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc94d",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 57.231,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81768,
    "c": 0.14369,
    "h": 106.5
  },
  "luminance": 0.55575
}

Semantic roles & 50–950 ramp

primary
#CFC94D
secondary
#393D87
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC94D

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

Preview Lab → · Contrast checker → · Palette generator →

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