#CFD77A#CFD77A

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

Color values

HEX#CFD77A
RGBrgb(207, 215, 122)
HSLhsl(65, 54%, 66%)
HSVhsv(65, 43%, 84%)
CMYKcmyk(3.7%, 0%, 43.3%, 15.7%)
CIE-LABlab(83.59, -16.30, 44.82)
CIE-LCHlch(83.59, 47.69, 109.98°)
OKLaboklab(85.28% -0.0457 0.108)
OKLCHoklch(85.28% 0.117 112.9)
XYZxyz(53.5461, 63.2722, 27.8006)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD77A #827AD7
analogous
#D7B07A #CFD77A #A0D77A
triadic
#CFD77A #7ACFD7 #D77ACF
tetradic
#CFD77A #7AD7B0 #827AD7 #D77AA0
square
#CFD77A #7AD7B0 #827AD7 #D77AA0
split-complementary
#CFD77A #7AA0D7 #B07AD7
monochromatic
#9BA532 #BEC94B #CFD77A #E0E5A9 #F1F3D8

Accessibility & contrast

On white

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

On black

13.65
#CFD77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD77A
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD77A#FFFFFF#000000##000000
##CFD77A1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd77a;
/* rgb */ color: rgb(207, 215, 122);
/* oklch */ color: oklch(85.3% 0.117 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe3a2',
    500: '#cfd77a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd77a;
$custom-light: #dfe3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd77a",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 122
  },
  "hsl": {
    "h": 65.161,
    "s": 53.757,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8528,
    "c": 0.11729,
    "h": 112.9
  },
  "luminance": 0.63271
}

Semantic roles & 50–950 ramp

primary
#CFD77A
secondary
#544CA9
accent
#24C132
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD77A

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

Preview Lab → · Contrast checker → · Palette generator →

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