#CDC072#CDC072

#CDC072 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.100 H 100.0°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CDC072
RGBrgb(205, 192, 114)
HSLhsl(51, 48%, 63%)
HSVhsv(51, 44%, 80%)
CMYKcmyk(0%, 6.3%, 44.4%, 19.6%)
CIE-LABlab(77.22, -6.23, 40.83)
CIE-LCHlch(77.22, 41.30, 98.68°)
OKLaboklab(80.15% -0.0174 0.0986)
OKLCHoklch(80.15% 0.1 100)
XYZxyz(47.0649, 51.8948, 23.4538)
Luminance0.5189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC072 #727FCD
analogous
#CD9372 #CDC072 #ACCD72
triadic
#CDC072 #72CDC0 #C072CD
tetradic
#CDC072 #72CD93 #727FCD #CD72AC
square
#CDC072 #72CD93 #727FCD #CD72AC
split-complementary
#CDC072 #72ACCD #9372CD
monochromatic
#918433 #BDAC45 #CDC072 #DDD49F #EDE8CC

Accessibility & contrast

On white

1.85
#CDC072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CDC072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC072
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC072#FFFFFF#000000##000000
##CDC0721.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC6C
Deuteranopia (green-blind)
#D1C175
Tritanopia (blue-blind)
#D9B6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc072;
/* rgb */ color: rgb(205, 192, 114);
/* oklch */ color: oklch(80.1% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#ded29c',
    500: '#cdc072',
    950: '#000000',
  },
}
SCSS
$custom: #cdc072;
$custom-light: #ded29c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc072",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 114
  },
  "hsl": {
    "h": 51.429,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80145,
    "c": 0.10015,
    "h": 100
  },
  "luminance": 0.51893
}

Semantic roles & 50–950 ramp

primary
#CDC072
secondary
#4C5797
accent
#3FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC072

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

Preview Lab → · Contrast checker → · Palette generator →

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