#CDC67B#CDC67B

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

Color values

HEX#CDC67B
RGBrgb(205, 198, 123)
HSLhsl(55, 45%, 64%)
HSVhsv(55, 40%, 80%)
CMYKcmyk(0%, 3.4%, 40%, 19.6%)
CIE-LABlab(78.93, -8.39, 38.43)
CIE-LCHlch(78.93, 39.33, 102.31°)
OKLaboklab(81.54% -0.0228 0.0937)
OKLCHoklch(81.54% 0.096 103.7)
XYZxyz(48.9469, 54.7986, 26.7338)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC67B #7B82CD
analogous
#CD9D7B #CDC67B #ABCD7B
triadic
#CDC67B #7BCDC6 #C67BCD
tetradic
#CDC67B #7BCD9D #7B82CD #CD7BAB
square
#CDC67B #7BCD9D #7B82CD #CD7BAB
split-complementary
#CDC67B #7BABCD #9D7BCD
monochromatic
#958D38 #BCB34F #CDC67B #DED9A7 #EFECD4

Accessibility & contrast

On white

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

On black

11.96
#CDC67B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC67B
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC67B#FFFFFF#000000##000000
##CDC67B1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc67b;
/* rgb */ color: rgb(205, 198, 123);
/* oklch */ color: oklch(81.5% 0.096 103.7);
Tailwind
colors: {
  custom: {
    50: '#ddd7a2',
    500: '#cdc67b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc67b;
$custom-light: #ddd7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc67b",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 123
  },
  "hsl": {
    "h": 54.878,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8154,
    "c": 0.09644,
    "h": 103.7
  },
  "luminance": 0.54797
}

Semantic roles & 50–950 ramp

primary
#CDC67B
secondary
#51579B
accent
#39B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC67B

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

Preview Lab → · Contrast checker → · Palette generator →

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