#CDCA77#CDCA77

#CDCA77 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.105 H 106.7°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CDCA77
RGBrgb(205, 202, 119)
HSLhsl(58, 46%, 64%)
HSVhsv(58, 42%, 80%)
CMYKcmyk(0%, 1.5%, 42%, 19.6%)
CIE-LABlab(79.93, -10.86, 41.71)
CIE-LCHlch(79.93, 43.10, 104.59°)
OKLaboklab(82.32% -0.0303 0.1009)
OKLCHoklch(82.32% 0.105 106.7)
XYZxyz(49.6280, 56.5533, 25.7508)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA77 #777ACD
analogous
#CD9F77 #CDCA77 #A5CD77
triadic
#CDCA77 #77CDCA #CA77CD
tetradic
#CDCA77 #77CD9F #777ACD #CD77A5
square
#CDCA77 #77CD9F #777ACD #CD77A5
split-complementary
#CDCA77 #77A5CD #9F77CD
monochromatic
#939036 #BDB94A #CDCA77 #DDDBA4 #EEEDD0

Accessibility & contrast

On white

1.71
#CDCA77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#CDCA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA77
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA77#FFFFFF#000000##000000
##CDCA771.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C470
Deuteranopia (green-blind)
#D9C87B
Tritanopia (blue-blind)
#D8C0B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca77;
/* rgb */ color: rgb(205, 202, 119);
/* oklch */ color: oklch(82.3% 0.105 106.7);
Tailwind
colors: {
  custom: {
    50: '#deda9f',
    500: '#cdca77',
    950: '#000000',
  },
}
SCSS
$custom: #cdca77;
$custom-light: #deda9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca77",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 119
  },
  "hsl": {
    "h": 57.907,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82317,
    "c": 0.10535,
    "h": 106.7
  },
  "luminance": 0.56552
}

Semantic roles & 50–950 ramp

primary
#CDCA77
secondary
#4F519A
accent
#31B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCA77

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

Preview Lab → · Contrast checker → · Palette generator →

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