#CDC07B#CDC07B

#CDC07B is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.090 H 98.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CDC07B
RGBrgb(205, 192, 123)
HSLhsl(50, 45%, 64%)
HSVhsv(50, 40%, 80%)
CMYKcmyk(0%, 6.3%, 40%, 19.6%)
CIE-LABlab(77.35, -5.29, 36.41)
CIE-LCHlch(77.35, 36.79, 98.26°)
OKLaboklab(80.29% -0.0139 0.0891)
OKLCHoklch(80.29% 0.09 98.9)
XYZxyz(47.6026, 52.1099, 26.2857)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC07B #7B88CD
analogous
#CD977B #CDC07B #B1CD7B
triadic
#CDC07B #7BCDC0 #C07BCD
tetradic
#CDC07B #7BCD97 #7B88CD #CD7BB1
square
#CDC07B #7BCD97 #7B88CD #CD7BB1
split-complementary
#CDC07B #7BB1CD #977BCD
monochromatic
#958638 #BCAB4F #CDC07B #DED5A7 #EFEAD4

Accessibility & contrast

On white

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

On black

11.42
#CDC07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC07B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC07B#FFFFFF#000000##000000
##CDC07B1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC76
Deuteranopia (green-blind)
#D0C17E
Tritanopia (blue-blind)
#D9B7AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc07b;
/* rgb */ color: rgb(205, 192, 123);
/* oklch */ color: oklch(80.3% 0.090 98.9);
Tailwind
colors: {
  custom: {
    50: '#ddd2a2',
    500: '#cdc07b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc07b;
$custom-light: #ddd2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc07b",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 123
  },
  "hsl": {
    "h": 50.488,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80289,
    "c": 0.09017,
    "h": 98.9
  },
  "luminance": 0.52108
}

Semantic roles & 50–950 ramp

primary
#CDC07B
secondary
#515D9B
accent
#43B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC07B

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

Preview Lab → · Contrast checker → · Palette generator →

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