#CDC970#CDC970

#CDC970 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.112 H 106.3°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CDC970
RGBrgb(205, 201, 112)
HSLhsl(57, 48%, 62%)
HSVhsv(57, 45%, 80%)
CMYKcmyk(0%, 2%, 45.4%, 19.6%)
CIE-LABlab(79.57, -11.05, 44.74)
CIE-LCHlch(79.57, 46.09, 103.88°)
OKLaboklab(82% -0.0314 0.1072)
OKLCHoklch(82% 0.112 106.3)
XYZxyz(48.9891, 55.9235, 23.5398)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC970 #7074CD
analogous
#CD9A70 #CDC970 #A3CD70
triadic
#CDC970 #70CDC9 #C970CD
tetradic
#CDC970 #70CD9A #7074CD #CD70A3
square
#CDC970 #70CD9A #7074CD #CD70A3
split-complementary
#CDC970 #70A3CD #9A70CD
monochromatic
#908C32 #BDB843 #CDC970 #DDDA9D #EDEBCB

Accessibility & contrast

On white

1.72
#CDC970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CDC970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC970
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC970#FFFFFF#000000##000000
##CDC9701.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C369
Deuteranopia (green-blind)
#D8C774
Tritanopia (blue-blind)
#D9BFB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc970;
/* rgb */ color: rgb(205, 201, 112);
/* oklch */ color: oklch(82.0% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded99b',
    500: '#cdc970',
    950: '#000000',
  },
}
SCSS
$custom: #cdc970;
$custom-light: #ded99b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc970",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 57.419,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82003,
    "c": 0.11175,
    "h": 106.3
  },
  "luminance": 0.55922
}

Semantic roles & 50–950 ramp

primary
#CDC970
secondary
#4B4E97
accent
#30BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC970

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

Preview Lab → · Contrast checker → · Palette generator →

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