#CDC97A#CDC97A

#CDC97A is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.101 H 105.9°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CDC97A
RGBrgb(205, 201, 122)
HSLhsl(57, 45%, 64%)
HSVhsv(57, 40%, 80%)
CMYKcmyk(0%, 2%, 40.5%, 19.6%)
CIE-LABlab(79.70, -10.03, 39.92)
CIE-LCHlch(79.70, 41.16, 104.10°)
OKLaboklab(82.15% -0.0276 0.097)
OKLCHoklch(82.15% 0.101 105.9)
XYZxyz(49.5772, 56.1587, 26.6367)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC97A #7A7ECD
analogous
#CDA07A #CDC97A #A8CD7A
triadic
#CDC97A #7ACDC9 #C97ACD
tetradic
#CDC97A #7ACDA0 #7A7ECD #CD7AA8
square
#CDC97A #7ACDA0 #7A7ECD #CD7AA8
split-complementary
#CDC97A #7AA8CD #A07ACD
monochromatic
#959038 #BCB74E #CDC97A #DEDBA6 #EEEDD3

Accessibility & contrast

On white

1.72
#CDC97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CDC97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC97A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC97A#FFFFFF#000000##000000
##CDC97A1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc97a;
/* rgb */ color: rgb(205, 201, 122);
/* oklch */ color: oklch(82.2% 0.101 105.9);
Tailwind
colors: {
  custom: {
    50: '#ddd9a1',
    500: '#cdc97a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc97a;
$custom-light: #ddd9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc97a",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 122
  },
  "hsl": {
    "h": 57.108,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82153,
    "c": 0.1009,
    "h": 105.9
  },
  "luminance": 0.56158
}

Semantic roles & 50–950 ramp

primary
#CDC97A
secondary
#50549B
accent
#34B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC97A

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

Preview Lab → · Contrast checker → · Palette generator →

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