#CCD77B#CCD77B

#CCD77B is a very light, moderate yellow. Relative luminance 0.629; OKLCH L 85.1% C 0.117 H 114.5°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#CCD77B
RGBrgb(204, 215, 123)
HSLhsl(67, 53%, 66%)
HSVhsv(67, 43%, 84%)
CMYKcmyk(5.1%, 0%, 42.8%, 15.7%)
CIE-LABlab(83.37, -17.37, 44.01)
CIE-LCHlch(83.37, 47.32, 111.53°)
OKLaboklab(85.06% -0.0485 0.1063)
OKLCHoklch(85.06% 0.117 114.5)
XYZxyz(52.7780, 62.8690, 28.0896)
Luminance0.6287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD77B #867BD7
analogous
#D7B47B #CCD77B #9ED77B
triadic
#CCD77B #7BCCD7 #D77BCC
tetradic
#CCD77B #7BD7B4 #867BD7 #D77B9E
square
#CCD77B #7BD7B4 #867BD7 #D77B9E
split-complementary
#CCD77B #7B9ED7 #B47BD7
monochromatic
#98A532 #BAC94C #CCD77B #DEE5AA #F0F3D9

Accessibility & contrast

On white

1.55
#CCD77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#CCD77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD77B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD77B#FFFFFF#000000##000000
##CCD77B1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd77b;
/* rgb */ color: rgb(204, 215, 123);
/* oklch */ color: oklch(85.1% 0.117 114.5);
Tailwind
colors: {
  custom: {
    50: '#dde3a3',
    500: '#ccd77b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd77b;
$custom-light: #dde3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd77b",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 123
  },
  "hsl": {
    "h": 67.174,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85059,
    "c": 0.11686,
    "h": 114.5
  },
  "luminance": 0.62868
}

Semantic roles & 50–950 ramp

primary
#CCD77B
secondary
#584DA9
accent
#25C137
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD77B

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

Preview Lab → · Contrast checker → · Palette generator →

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