#CDC071#CDC071

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

Color values

HEX#CDC071
RGBrgb(205, 192, 113)
HSLhsl(52, 48%, 62%)
HSVhsv(52, 45%, 80%)
CMYKcmyk(0%, 6.3%, 44.9%, 19.6%)
CIE-LABlab(77.20, -6.33, 41.32)
CIE-LCHlch(77.20, 41.80, 98.71°)
OKLaboklab(80.13% -0.0178 0.0997)
OKLCHoklch(80.13% 0.101 100.1)
XYZxyz(47.0083, 51.8722, 23.1557)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC071 #717ECD
analogous
#CD9271 #CDC071 #ACCD71
triadic
#CDC071 #71CDC0 #C071CD
tetradic
#CDC071 #71CD92 #717ECD #CD71AC
square
#CDC071 #71CD92 #717ECD #CD71AC
split-complementary
#CDC071 #71ACCD #9271CD
monochromatic
#918333 #BDAC44 #CDC071 #DDD49E #EDE8CC

Accessibility & contrast

On white

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

On black

11.37
#CDC071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC071
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC071#FFFFFF#000000##000000
##CDC0711.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc071;
/* rgb */ color: rgb(205, 192, 113);
/* oklch */ color: oklch(80.1% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#ded29b',
    500: '#cdc071',
    950: '#000000',
  },
}
SCSS
$custom: #cdc071;
$custom-light: #ded29b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc071",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 113
  },
  "hsl": {
    "h": 51.522,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8013,
    "c": 0.10123,
    "h": 100.1
  },
  "luminance": 0.51871
}

Semantic roles & 50–950 ramp

primary
#CDC071
secondary
#4B5697
accent
#3FBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC071

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

Preview Lab → · Contrast checker → · Palette generator →

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