#CDC077#CDC077

#CDC077 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.095 H 99.4°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CDC077
RGBrgb(205, 192, 119)
HSLhsl(51, 46%, 64%)
HSVhsv(51, 42%, 80%)
CMYKcmyk(0%, 6.3%, 42%, 19.6%)
CIE-LABlab(77.29, -5.72, 38.38)
CIE-LCHlch(77.29, 38.81, 98.47°)
OKLaboklab(80.22% -0.0155 0.0934)
OKLCHoklch(80.22% 0.095 99.4)
XYZxyz(47.3573, 52.0118, 24.9939)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC077 #7784CD
analogous
#CD9577 #CDC077 #AFCD77
triadic
#CDC077 #77CDC0 #C077CD
tetradic
#CDC077 #77CD95 #7784CD #CD77AF
square
#CDC077 #77CD95 #7784CD #CD77AF
split-complementary
#CDC077 #77AFCD #9577CD
monochromatic
#938536 #BDAB4A #CDC077 #DDD5A4 #EEE9D0

Accessibility & contrast

On white

1.84
#CDC077 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CDC077 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC077
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC077#FFFFFF#000000##000000
##CDC0771.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC71
Deuteranopia (green-blind)
#D1C17A
Tritanopia (blue-blind)
#D9B6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc077;
/* rgb */ color: rgb(205, 192, 119);
/* oklch */ color: oklch(80.2% 0.095 99.4);
Tailwind
colors: {
  custom: {
    50: '#ded29f',
    500: '#cdc077',
    950: '#000000',
  },
}
SCSS
$custom: #cdc077;
$custom-light: #ded29f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc077",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 119
  },
  "hsl": {
    "h": 50.93,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80223,
    "c": 0.09466,
    "h": 99.4
  },
  "luminance": 0.5201
}

Semantic roles & 50–950 ramp

primary
#CDC077
secondary
#4F5A9A
accent
#41B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC077

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

Preview Lab → · Contrast checker → · Palette generator →

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