#CDC67F#CDC67F

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

Color values

HEX#CDC67F
RGBrgb(205, 198, 127)
HSLhsl(55, 44%, 65%)
HSVhsv(55, 38%, 80%)
CMYKcmyk(0%, 3.4%, 38%, 19.6%)
CIE-LABlab(78.98, -7.94, 36.46)
CIE-LCHlch(78.98, 37.32, 102.29°)
OKLaboklab(81.61% -0.0213 0.0894)
OKLCHoklch(81.61% 0.092 103.4)
XYZxyz(49.2025, 54.9008, 28.0796)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC67F #7F86CD
analogous
#CD9F7F #CDC67F #ADCD7F
triadic
#CDC67F #7FCDC6 #C67FCD
tetradic
#CDC67F #7FCD9F #7F86CD #CD7FAD
square
#CDC67F #7FCD9F #7F86CD #CD7FAD
split-complementary
#CDC67F #7FADCD #9F7FCD
monochromatic
#978E3B #BCB253 #CDC67F #DEDAAB #EFEDD7

Accessibility & contrast

On white

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

On black

11.98
#CDC67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC67F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC67F#FFFFFF#000000##000000
##CDC67F1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C17A
Deuteranopia (green-blind)
#D5C582
Tritanopia (blue-blind)
#D8BDB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc67f;
/* rgb */ color: rgb(205, 198, 127);
/* oklch */ color: oklch(81.6% 0.092 103.4);
Tailwind
colors: {
  custom: {
    50: '#ddd7a5',
    500: '#cdc67f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc67f;
$custom-light: #ddd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc67f",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 127
  },
  "hsl": {
    "h": 54.615,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81606,
    "c": 0.09188,
    "h": 103.4
  },
  "luminance": 0.549
}

Semantic roles & 50–950 ramp

primary
#CDC67F
secondary
#535A9D
accent
#3BB72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC67F

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

Preview Lab → · Contrast checker → · Palette generator →

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