#CDC070#CDC070

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

Color values

HEX#CDC070
RGBrgb(205, 192, 112)
HSLhsl(52, 48%, 62%)
HSVhsv(52, 45%, 80%)
CMYKcmyk(0%, 6.3%, 45.4%, 19.6%)
CIE-LABlab(77.19, -6.43, 41.80)
CIE-LCHlch(77.19, 42.30, 98.75°)
OKLaboklab(80.12% -0.0182 0.1007)
OKLCHoklch(80.12% 0.102 100.2)
XYZxyz(46.9523, 51.8498, 22.8608)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC070 #707DCD
analogous
#CD9270 #CDC070 #ACCD70
triadic
#CDC070 #70CDC0 #C070CD
tetradic
#CDC070 #70CD92 #707DCD #CD70AC
square
#CDC070 #70CD92 #707DCD #CD70AC
split-complementary
#CDC070 #70ACCD #9270CD
monochromatic
#908332 #BDAC43 #CDC070 #DDD49D #EDE8CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC070#FFFFFF#000000##000000
##CDC0701.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)
#CEBC6A
Deuteranopia (green-blind)
#D1C173
Tritanopia (blue-blind)
#D9B6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc070;
/* rgb */ color: rgb(205, 192, 112);
/* oklch */ color: oklch(80.1% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#ded29a',
    500: '#cdc070',
    950: '#000000',
  },
}
SCSS
$custom: #cdc070;
$custom-light: #ded29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc070",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 112
  },
  "hsl": {
    "h": 51.613,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80115,
    "c": 0.1023,
    "h": 100.2
  },
  "luminance": 0.51848
}

Semantic roles & 50–950 ramp

primary
#CDC070
secondary
#4B5597
accent
#3EBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC070

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

Preview Lab → · Contrast checker → · Palette generator →

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