#CFD77F#CFD77F

#CFD77F is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.4% C 0.112 H 113.0°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#CFD77F
RGBrgb(207, 215, 127)
HSLhsl(65, 52%, 67%)
HSVhsv(65, 41%, 84%)
CMYKcmyk(3.7%, 0%, 40.9%, 15.7%)
CIE-LABlab(83.65, -15.77, 42.44)
CIE-LCHlch(83.65, 45.27, 110.38°)
OKLaboklab(85.36% -0.0437 0.103)
OKLCHoklch(85.36% 0.112 113)
XYZxyz(53.8639, 63.3994, 29.4743)
Luminance0.6340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD77F #877FD7
analogous
#D7B37F #CFD77F #A3D77F
triadic
#CFD77F #7FCFD7 #D77FCF
tetradic
#CFD77F #7FD7B3 #877FD7 #D77FA3
square
#CFD77F #7FD7B3 #877FD7 #D77FA3
split-complementary
#CFD77F #7FA3D7 #B37FD7
monochromatic
#9DA734 #BEC850 #CFD77F #E0E6AE #F2F4DC

Accessibility & contrast

On white

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

On black

13.68
#CFD77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD77F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD77F#FFFFFF#000000##000000
##CFD77F1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF78
Deuteranopia (green-blind)
#E3D283
Tritanopia (blue-blind)
#D9CEC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd77f;
/* rgb */ color: rgb(207, 215, 127);
/* oklch */ color: oklch(85.4% 0.112 113.0);
Tailwind
colors: {
  custom: {
    50: '#dfe3a5',
    500: '#cfd77f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd77f;
$custom-light: #dfe3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd77f",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 127
  },
  "hsl": {
    "h": 65.455,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85355,
    "c": 0.11188,
    "h": 113
  },
  "luminance": 0.63399
}

Semantic roles & 50–950 ramp

primary
#CFD77F
secondary
#584FAB
accent
#26C034
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD77F

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

Preview Lab → · Contrast checker → · Palette generator →

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