#CDC67E#CDC67E

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

Color values

HEX#CDC67E
RGBrgb(205, 198, 126)
HSLhsl(55, 44%, 65%)
HSVhsv(55, 39%, 80%)
CMYKcmyk(0%, 3.4%, 38.5%, 19.6%)
CIE-LABlab(78.97, -8.06, 36.95)
CIE-LCHlch(78.97, 37.82, 102.30°)
OKLaboklab(81.59% -0.0216 0.0905)
OKLCHoklch(81.59% 0.093 103.5)
XYZxyz(49.1376, 54.8749, 27.7381)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC67E #7E85CD
analogous
#CD9F7E #CDC67E #ACCD7E
triadic
#CDC67E #7ECDC6 #C67ECD
tetradic
#CDC67E #7ECD9F #7E85CD #CD7EAC
square
#CDC67E #7ECD9F #7E85CD #CD7EAC
split-complementary
#CDC67E #7EACCD #9F7ECD
monochromatic
#968E3A #BCB352 #CDC67E #DED9AA #EFEDD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC67E#FFFFFF#000000##000000
##CDC67E1.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)
#D2C179
Deuteranopia (green-blind)
#D5C581
Tritanopia (blue-blind)
#D8BDB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc67e;
/* rgb */ color: rgb(205, 198, 126);
/* oklch */ color: oklch(81.6% 0.093 103.5);
Tailwind
colors: {
  custom: {
    50: '#ddd7a4',
    500: '#cdc67e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc67e;
$custom-light: #ddd7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc67e",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 126
  },
  "hsl": {
    "h": 54.684,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.81589,
    "c": 0.09303,
    "h": 103.5
  },
  "luminance": 0.54874
}

Semantic roles & 50–950 ramp

primary
#CDC67E
secondary
#53599D
accent
#3AB72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC67E

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

Preview Lab → · Contrast checker → · Palette generator →

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