#CDC07E#CDC07E

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

Color values

HEX#CDC07E
RGBrgb(205, 192, 126)
HSLhsl(50, 44%, 65%)
HSVhsv(50, 39%, 80%)
CMYKcmyk(0%, 6.3%, 38.5%, 19.6%)
CIE-LABlab(77.39, -4.95, 34.92)
CIE-LCHlch(77.39, 35.27, 98.07°)
OKLaboklab(80.34% -0.0127 0.0858)
OKLCHoklch(80.34% 0.087 98.4)
XYZxyz(47.7932, 52.1862, 27.2900)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC07E #7E8BCD
analogous
#CD997E #CDC07E #B2CD7E
triadic
#CDC07E #7ECDC0 #C07ECD
tetradic
#CDC07E #7ECD99 #7E8BCD #CD7EB2
square
#CDC07E #7ECD99 #7E8BCD #CD7EB2
split-complementary
#CDC07E #7EB2CD #997ECD
monochromatic
#96873A #BCAA52 #CDC07E #DED6AA #EFEBD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC07E#FFFFFF#000000##000000
##CDC07E1.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)
#CCBC79
Deuteranopia (green-blind)
#D0C180
Tritanopia (blue-blind)
#D8B7AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc07e;
/* rgb */ color: rgb(205, 192, 126);
/* oklch */ color: oklch(80.3% 0.087 98.4);
Tailwind
colors: {
  custom: {
    50: '#ddd2a4',
    500: '#cdc07e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc07e;
$custom-light: #ddd2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc07e",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 126
  },
  "hsl": {
    "h": 50.127,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8034,
    "c": 0.08674,
    "h": 98.4
  },
  "luminance": 0.52185
}

Semantic roles & 50–950 ramp

primary
#CDC07E
secondary
#535F9D
accent
#45B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC07E

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

Preview Lab → · Contrast checker → · Palette generator →

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