#CDC67D#CDC67D

#CDC67D is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.094 H 103.5°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CDC67D
RGBrgb(205, 198, 125)
HSLhsl(55, 44%, 65%)
HSVhsv(55, 39%, 80%)
CMYKcmyk(0%, 3.4%, 39%, 19.6%)
CIE-LABlab(78.95, -8.17, 37.45)
CIE-LCHlch(78.95, 38.33, 102.30°)
OKLaboklab(81.57% -0.022 0.0916)
OKLCHoklch(81.57% 0.094 103.5)
XYZxyz(49.0734, 54.8492, 27.4000)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC67D #7D84CD
analogous
#CD9E7D #CDC67D #ACCD7D
triadic
#CDC67D #7DCDC6 #C67DCD
tetradic
#CDC67D #7DCD9E #7D84CD #CD7DAC
square
#CDC67D #7DCD9E #7D84CD #CD7DAC
split-complementary
#CDC67D #7DACCD #9E7DCD
monochromatic
#968E3A #BCB351 #CDC67D #DED9A9 #EFEDD5

Accessibility & contrast

On white

1.75
#CDC67D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CDC67D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC67D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC67D#FFFFFF#000000##000000
##CDC67D1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C178
Deuteranopia (green-blind)
#D5C580
Tritanopia (blue-blind)
#D8BDB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc67d;
/* rgb */ color: rgb(205, 198, 125);
/* oklch */ color: oklch(81.6% 0.094 103.5);
Tailwind
colors: {
  custom: {
    50: '#ddd7a3',
    500: '#cdc67d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc67d;
$custom-light: #ddd7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc67d",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 125
  },
  "hsl": {
    "h": 54.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81572,
    "c": 0.09418,
    "h": 103.5
  },
  "luminance": 0.54848
}

Semantic roles & 50–950 ramp

primary
#CDC67D
secondary
#52599C
accent
#3AB82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC67D

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

Preview Lab → · Contrast checker → · Palette generator →

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