#CDC67A#CDC67A

#CDC67A is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.098 H 103.8°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CDC67A
RGBrgb(205, 198, 122)
HSLhsl(55, 45%, 64%)
HSVhsv(55, 40%, 80%)
CMYKcmyk(0%, 3.4%, 40.5%, 19.6%)
CIE-LABlab(78.91, -8.49, 38.92)
CIE-LCHlch(78.91, 39.83, 102.31°)
OKLaboklab(81.52% -0.0232 0.0948)
OKLCHoklch(81.52% 0.098 103.8)
XYZxyz(48.8846, 54.7737, 26.4058)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC67A #7A81CD
analogous
#CD9D7A #CDC67A #ABCD7A
triadic
#CDC67A #7ACDC6 #C67ACD
tetradic
#CDC67A #7ACD9D #7A81CD #CD7AAB
square
#CDC67A #7ACD9D #7A81CD #CD7AAB
split-complementary
#CDC67A #7AABCD #9D7ACD
monochromatic
#958D38 #BCB34E #CDC67A #DED9A6 #EEECD3

Accessibility & contrast

On white

1.76
#CDC67A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CDC67A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC67A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC67A#FFFFFF#000000##000000
##CDC67A1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C174
Deuteranopia (green-blind)
#D5C57D
Tritanopia (blue-blind)
#D8BDB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc67a;
/* rgb */ color: rgb(205, 198, 122);
/* oklch */ color: oklch(81.5% 0.098 103.8);
Tailwind
colors: {
  custom: {
    50: '#ddd7a1',
    500: '#cdc67a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc67a;
$custom-light: #ddd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc67a",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 122
  },
  "hsl": {
    "h": 54.94,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81523,
    "c": 0.09756,
    "h": 103.8
  },
  "luminance": 0.54772
}

Semantic roles & 50–950 ramp

primary
#CDC67A
secondary
#50579B
accent
#39B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC67A

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

Preview Lab → · Contrast checker → · Palette generator →

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