#CFC84D#CFC84D

#CFC84D is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.143 H 106.0°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CFC84D
RGBrgb(207, 200, 77)
HSLhsl(57, 58%, 56%)
HSVhsv(57, 63%, 81%)
CMYKcmyk(0%, 3.4%, 62.8%, 18.8%)
CIE-LABlab(79.11, -12.52, 60.35)
CIE-LCHlch(79.11, 61.64, 101.72°)
OKLaboklab(81.56% -0.0394 0.1372)
OKLCHoklch(81.56% 0.143 106)
XYZxyz(47.7276, 55.1114, 15.1432)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC84D #4D54CF
analogous
#CF874D #CFC84D #95CF4D
triadic
#CFC84D #4DCFC8 #C84DCF
tetradic
#CFC84D #4DCF87 #4D54CF #CF4D95
square
#CFC84D #4DCF87 #4D54CF #CF4D95
split-complementary
#CFC84D #4D95CF #874DCF
monochromatic
#7F7A22 #AFA92F #CFC84D #DCD77D #E9E6AD

Accessibility & contrast

On white

1.75
#CFC84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CFC84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC84D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC84D#FFFFFF#000000##000000
##CFC84D1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13E
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#DDBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc84d;
/* rgb */ color: rgb(207, 200, 77);
/* oklch */ color: oklch(81.6% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1d884',
    500: '#cfc84d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc84d;
$custom-light: #e1d884;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc84d",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 56.769,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81556,
    "c": 0.14271,
    "h": 106
  },
  "luminance": 0.5511
}

Semantic roles & 50–950 ramp

primary
#CFC84D
secondary
#393E87
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC84D

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

Preview Lab → · Contrast checker → · Palette generator →

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