#CDC77F#CDC77F

#CDC77F is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.093 H 104.1°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CDC77F
RGBrgb(205, 199, 127)
HSLhsl(55, 44%, 65%)
HSVhsv(55, 38%, 80%)
CMYKcmyk(0%, 2.9%, 38%, 19.6%)
CIE-LABlab(79.25, -8.46, 36.80)
CIE-LCHlch(79.25, 37.76, 102.94°)
OKLaboklab(81.82% -0.0227 0.0902)
OKLCHoklch(81.82% 0.093 104.1)
XYZxyz(49.4318, 55.3595, 28.1561)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC77F #7F85CD
analogous
#CDA07F #CDC77F #ACCD7F
triadic
#CDC77F #7FCDC7 #C77FCD
tetradic
#CDC77F #7FCDA0 #7F85CD #CD7FAC
square
#CDC77F #7FCDA0 #7F85CD #CD7FAC
split-complementary
#CDC77F #7FACCD #A07FCD
monochromatic
#97903B #BCB453 #CDC77F #DEDAAB #EFEED7

Accessibility & contrast

On white

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

On black

12.07
#CDC77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC77F
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC77F#FFFFFF#000000##000000
##CDC77F1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27A
Deuteranopia (green-blind)
#D5C682
Tritanopia (blue-blind)
#D8BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc77f;
/* rgb */ color: rgb(205, 199, 127);
/* oklch */ color: oklch(81.8% 0.093 104.1);
Tailwind
colors: {
  custom: {
    50: '#ddd7a5',
    500: '#cdc77f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc77f;
$custom-light: #ddd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc77f",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 127
  },
  "hsl": {
    "h": 55.385,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81815,
    "c": 0.09299,
    "h": 104.1
  },
  "luminance": 0.55358
}

Semantic roles & 50–950 ramp

primary
#CDC77F
secondary
#53599D
accent
#39B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC77F

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

Preview Lab → · Contrast checker → · Palette generator →

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