#CCD77F#CCD77F

#CCD77F is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.113 H 114.7°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CCD77F
RGBrgb(204, 215, 127)
HSLhsl(68, 52%, 67%)
HSVhsv(68, 41%, 84%)
CMYKcmyk(5.1%, 0%, 40.9%, 15.7%)
CIE-LABlab(83.43, -16.94, 42.11)
CIE-LCHlch(83.43, 45.38, 111.91°)
OKLaboklab(85.12% -0.0469 0.1023)
OKLCHoklch(85.12% 0.113 114.7)
XYZxyz(53.0335, 62.9712, 29.4354)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD77F #8A7FD7
analogous
#D7B67F #CCD77F #A0D77F
triadic
#CCD77F #7FCCD7 #D77FCC
tetradic
#CCD77F #7FD7B6 #8A7FD7 #D77FA0
square
#CCD77F #7FD7B6 #8A7FD7 #D77FA0
split-complementary
#CCD77F #7FA0D7 #B67FD7
monochromatic
#99A734 #B9C850 #CCD77F #DFE6AE #F1F4DC

Accessibility & contrast

On white

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

On black

13.59
#CCD77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD77F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD77F#FFFFFF#000000##000000
##CCD77F1.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF78
Deuteranopia (green-blind)
#E2D183
Tritanopia (blue-blind)
#D5CEC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd77f;
/* rgb */ color: rgb(204, 215, 127);
/* oklch */ color: oklch(85.1% 0.113 114.7);
Tailwind
colors: {
  custom: {
    50: '#dde3a5',
    500: '#ccd77f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd77f;
$custom-light: #dde3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd77f",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 127
  },
  "hsl": {
    "h": 67.5,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8512,
    "c": 0.11252,
    "h": 114.7
  },
  "luminance": 0.62971
}

Semantic roles & 50–950 ramp

primary
#CCD77F
secondary
#5B4FAB
accent
#26C039
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD77F

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

Preview Lab → · Contrast checker → · Palette generator →

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