#CDC57A#CDC57A

#CDC57A is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.096 H 103.0°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CDC57A
RGBrgb(205, 197, 122)
HSLhsl(54, 45%, 64%)
HSVhsv(54, 40%, 80%)
CMYKcmyk(0%, 3.9%, 40.5%, 19.6%)
CIE-LABlab(78.65, -7.98, 38.58)
CIE-LCHlch(78.65, 39.40, 101.69°)
OKLaboklab(81.31% -0.0217 0.094)
OKLCHoklch(81.31% 0.096 103)
XYZxyz(48.6568, 54.3181, 26.3299)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC57A #7A82CD
analogous
#CD9C7A #CDC57A #ACCD7A
triadic
#CDC57A #7ACDC5 #C57ACD
tetradic
#CDC57A #7ACD9C #7A82CD #CD7AAC
square
#CDC57A #7ACD9C #7A82CD #CD7AAC
split-complementary
#CDC57A #7AACCD #9C7ACD
monochromatic
#958C38 #BCB24E #CDC57A #DED8A6 #EEECD3

Accessibility & contrast

On white

1.77
#CDC57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CDC57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC57A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC57A#FFFFFF#000000##000000
##CDC57A1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C074
Deuteranopia (green-blind)
#D4C57D
Tritanopia (blue-blind)
#D8BCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc57a;
/* rgb */ color: rgb(205, 197, 122);
/* oklch */ color: oklch(81.3% 0.096 103.0);
Tailwind
colors: {
  custom: {
    50: '#ddd6a1',
    500: '#cdc57a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc57a;
$custom-light: #ddd6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc57a",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 122
  },
  "hsl": {
    "h": 54.217,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81314,
    "c": 0.09648,
    "h": 103
  },
  "luminance": 0.54317
}

Semantic roles & 50–950 ramp

primary
#CDC57A
secondary
#50579B
accent
#3AB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC57A

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

Preview Lab → · Contrast checker → · Palette generator →

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