#CDCA7C#CDCA7C

#CDCA7C is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.100 H 106.5°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CDCA7C
RGBrgb(205, 202, 124)
HSLhsl(58, 45%, 65%)
HSVhsv(58, 40%, 80%)
CMYKcmyk(0%, 1.5%, 39.5%, 19.6%)
CIE-LABlab(80.00, -10.33, 39.28)
CIE-LCHlch(80.00, 40.62, 104.73°)
OKLaboklab(82.4% -0.0283 0.0957)
OKLCHoklch(82.4% 0.1 106.5)
XYZxyz(49.9362, 56.6766, 27.3740)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA7C #7C7FCD
analogous
#CDA27C #CDCA7C #A8CD7C
triadic
#CDCA7C #7CCDCA #CA7CCD
tetradic
#CDCA7C #7CCDA2 #7C7FCD #CD7CA8
square
#CDCA7C #7CCDA2 #7C7FCD #CD7CA8
split-complementary
#CDCA7C #7CA8CD #A27CCD
monochromatic
#969239 #BCB850 #CDCA7C #DEDCA8 #EFEED5

Accessibility & contrast

On white

1.70
#CDCA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#CDCA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA7C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA7C#FFFFFF#000000##000000
##CDCA7C1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C476
Deuteranopia (green-blind)
#D8C87F
Tritanopia (blue-blind)
#D8C1B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca7c;
/* rgb */ color: rgb(205, 202, 124);
/* oklch */ color: oklch(82.4% 0.100 106.5);
Tailwind
colors: {
  custom: {
    50: '#dddaa3',
    500: '#cdca7c',
    950: '#000000',
  },
}
SCSS
$custom: #cdca7c;
$custom-light: #dddaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca7c",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 57.778,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82395,
    "c": 0.0998,
    "h": 106.5
  },
  "luminance": 0.56675
}

Semantic roles & 50–950 ramp

primary
#CDCA7C
secondary
#51549C
accent
#33B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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