#CDC07F#CDC07F

#CDC07F is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.086 H 98.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CDC07F
RGBrgb(205, 192, 127)
HSLhsl(50, 44%, 65%)
HSVhsv(50, 38%, 80%)
CMYKcmyk(0%, 6.3%, 38%, 19.6%)
CIE-LABlab(77.41, -4.84, 34.42)
CIE-LCHlch(77.41, 34.76, 98.00°)
OKLaboklab(80.36% -0.0123 0.0847)
OKLCHoklch(80.36% 0.086 98.3)
XYZxyz(47.8581, 52.2121, 27.6315)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC07F #7F8CCD
analogous
#CD997F #CDC07F #B3CD7F
triadic
#CDC07F #7FCDC0 #C07FCD
tetradic
#CDC07F #7FCD99 #7F8CCD #CD7FB3
square
#CDC07F #7FCD99 #7F8CCD #CD7FB3
split-complementary
#CDC07F #7FB3CD #997FCD
monochromatic
#97873B #BCAA53 #CDC07F #DED6AB #EFEBD7

Accessibility & contrast

On white

1.84
#CDC07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CDC07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC07F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC07F#FFFFFF#000000##000000
##CDC07F1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC7A
Deuteranopia (green-blind)
#D0C181
Tritanopia (blue-blind)
#D8B7B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc07f;
/* rgb */ color: rgb(205, 192, 127);
/* oklch */ color: oklch(80.4% 0.086 98.3);
Tailwind
colors: {
  custom: {
    50: '#ddd2a5',
    500: '#cdc07f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc07f;
$custom-light: #ddd2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc07f",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 127
  },
  "hsl": {
    "h": 50,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80357,
    "c": 0.08559,
    "h": 98.3
  },
  "luminance": 0.52211
}

Semantic roles & 50–950 ramp

primary
#CDC07F
secondary
#53609D
accent
#45B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC07F

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

Preview Lab → · Contrast checker → · Palette generator →

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