#CDC67C#CDC67C

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

Color values

HEX#CDC67C
RGBrgb(205, 198, 124)
HSLhsl(55, 45%, 65%)
HSVhsv(55, 40%, 80%)
CMYKcmyk(0%, 3.4%, 39.5%, 19.6%)
CIE-LABlab(78.94, -8.28, 37.94)
CIE-LCHlch(78.94, 38.83, 102.31°)
OKLaboklab(81.56% -0.0224 0.0926)
OKLCHoklch(81.56% 0.095 103.6)
XYZxyz(49.0098, 54.8238, 27.0652)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC67C #7C83CD
analogous
#CD9E7C #CDC67C #ACCD7C
triadic
#CDC67C #7CCDC6 #C67CCD
tetradic
#CDC67C #7CCD9E #7C83CD #CD7CAC
square
#CDC67C #7CCD9E #7C83CD #CD7CAC
split-complementary
#CDC67C #7CACCD #9E7CCD
monochromatic
#968E39 #BCB350 #CDC67C #DED9A8 #EFEDD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC67C#FFFFFF#000000##000000
##CDC67C1.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)
#D2C176
Deuteranopia (green-blind)
#D5C57F
Tritanopia (blue-blind)
#D8BDB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc67c;
/* rgb */ color: rgb(205, 198, 124);
/* oklch */ color: oklch(81.6% 0.095 103.6);
Tailwind
colors: {
  custom: {
    50: '#ddd7a3',
    500: '#cdc67c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc67c;
$custom-light: #ddd7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc67c",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 124
  },
  "hsl": {
    "h": 54.815,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81556,
    "c": 0.09531,
    "h": 103.6
  },
  "luminance": 0.54823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC67C

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

Preview Lab → · Contrast checker → · Palette generator →

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