#CFD77B#CFD77B

#CFD77B is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.3% C 0.116 H 112.9°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#CFD77B
RGBrgb(207, 215, 123)
HSLhsl(65, 53%, 66%)
HSVhsv(65, 43%, 84%)
CMYKcmyk(3.7%, 0%, 42.8%, 15.7%)
CIE-LABlab(83.60, -16.19, 44.34)
CIE-LCHlch(83.60, 47.21, 110.06°)
OKLaboklab(85.3% -0.0453 0.107)
OKLCHoklch(85.3% 0.116 112.9)
XYZxyz(53.6084, 63.2971, 28.1286)
Luminance0.6330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD77B #837BD7
analogous
#D7B17B #CFD77B #A1D77B
triadic
#CFD77B #7BCFD7 #D77BCF
tetradic
#CFD77B #7BD7B1 #837BD7 #D77BA1
square
#CFD77B #7BD7B1 #837BD7 #D77BA1
split-complementary
#CFD77B #7BA1D7 #B17BD7
monochromatic
#9BA532 #BEC94C #CFD77B #E0E5AA #F1F3D9

Accessibility & contrast

On white

1.54
#CFD77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#CFD77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD77B
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD77B#FFFFFF#000000##000000
##CFD77B1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF74
Deuteranopia (green-blind)
#E3D27F
Tritanopia (blue-blind)
#D9CDC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd77b;
/* rgb */ color: rgb(207, 215, 123);
/* oklch */ color: oklch(85.3% 0.116 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe3a3',
    500: '#cfd77b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd77b;
$custom-light: #dfe3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd77b",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 123
  },
  "hsl": {
    "h": 65.217,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85295,
    "c": 0.11622,
    "h": 112.9
  },
  "luminance": 0.63296
}

Semantic roles & 50–950 ramp

primary
#CFD77B
secondary
#554DA9
accent
#25C132
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD77B

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

Preview Lab → · Contrast checker → · Palette generator →

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