#CDC77A#CDC77A

#CDC77A is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.099 H 104.5°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CDC77A
RGBrgb(205, 199, 122)
HSLhsl(56, 45%, 64%)
HSVhsv(56, 40%, 80%)
CMYKcmyk(0%, 2.9%, 40.5%, 19.6%)
CIE-LABlab(79.17, -9.01, 39.25)
CIE-LCHlch(79.17, 40.27, 102.92°)
OKLaboklab(81.73% -0.0247 0.0955)
OKLCHoklch(81.73% 0.099 104.5)
XYZxyz(49.1140, 55.2324, 26.4823)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC77A #7A80CD
analogous
#CD9E7A #CDC77A #AACD7A
triadic
#CDC77A #7ACDC7 #C77ACD
tetradic
#CDC77A #7ACD9E #7A80CD #CD7AAA
square
#CDC77A #7ACD9E #7A80CD #CD7AAA
split-complementary
#CDC77A #7AAACD #9E7ACD
monochromatic
#958E38 #BCB44E #CDC77A #DEDAA6 #EEECD3

Accessibility & contrast

On white

1.74
#CDC77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CDC77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC77A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC77A#FFFFFF#000000##000000
##CDC77A1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C274
Deuteranopia (green-blind)
#D6C67D
Tritanopia (blue-blind)
#D8BEB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc77a;
/* rgb */ color: rgb(205, 199, 122);
/* oklch */ color: oklch(81.7% 0.099 104.5);
Tailwind
colors: {
  custom: {
    50: '#ddd7a1',
    500: '#cdc77a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc77a;
$custom-light: #ddd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc77a",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 122
  },
  "hsl": {
    "h": 55.663,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81733,
    "c": 0.09866,
    "h": 104.5
  },
  "luminance": 0.55231
}

Semantic roles & 50–950 ramp

primary
#CDC77A
secondary
#50569B
accent
#37B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC77A

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

Preview Lab → · Contrast checker → · Palette generator →

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