#CFD77C#CFD77C

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

Color values

HEX#CFD77C
RGBrgb(207, 215, 124)
HSLhsl(65, 53%, 66%)
HSVhsv(65, 42%, 84%)
CMYKcmyk(3.7%, 0%, 42.3%, 15.7%)
CIE-LABlab(83.61, -16.09, 43.87)
CIE-LCHlch(83.61, 46.73, 110.14°)
OKLaboklab(85.31% -0.0449 0.106)
OKLCHoklch(85.31% 0.115 112.9)
XYZxyz(53.6713, 63.3223, 28.4599)
Luminance0.6332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD77C #847CD7
analogous
#D7B27C #CFD77C #A2D77C
triadic
#CFD77C #7CCFD7 #D77CCF
tetradic
#CFD77C #7CD7B2 #847CD7 #D77CA2
square
#CFD77C #7CD7B2 #847CD7 #D77CA2
split-complementary
#CFD77C #7CA2D7 #B27CD7
monochromatic
#9CA633 #BEC94D #CFD77C #E0E5AB #F1F4DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD77C#FFFFFF#000000##000000
##CFD77C1.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)
#E3CF75
Deuteranopia (green-blind)
#E3D280
Tritanopia (blue-blind)
#D9CDC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd77c;
/* rgb */ color: rgb(207, 215, 124);
/* oklch */ color: oklch(85.3% 0.115 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe3a3',
    500: '#cfd77c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd77c;
$custom-light: #dfe3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd77c",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 124
  },
  "hsl": {
    "h": 65.275,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85309,
    "c": 0.11514,
    "h": 112.9
  },
  "luminance": 0.63322
}

Semantic roles & 50–950 ramp

primary
#CFD77C
secondary
#564EAA
accent
#25C133
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD77C

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

Preview Lab → · Contrast checker → · Palette generator →

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