#CDD970#CDD970

#CDD970 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.131 H 114.6°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#CDD970
RGBrgb(205, 217, 112)
HSLhsl(67, 58%, 65%)
HSVhsv(67, 48%, 85%)
CMYKcmyk(5.5%, 0%, 48.4%, 14.9%)
CIE-LABlab(83.85, -19.06, 49.93)
CIE-LCHlch(83.85, 53.45, 110.89°)
OKLaboklab(85.41% -0.0543 0.1187)
OKLCHoklch(85.41% 0.131 114.6)
XYZxyz(52.9151, 63.7754, 24.8484)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD970 #7C70D9
analogous
#D9B170 #CDD970 #99D970
triadic
#CDD970 #70CDD9 #D970CD
tetradic
#CDD970 #70D9B1 #7C70D9 #D97099
square
#CDD970 #70D9B1 #7C70D9 #D97099
split-complementary
#CDD970 #7099D9 #B170D9
monochromatic
#96A32B #BCCC40 #CDD970 #DEE6A0 #EFF3D1

Accessibility & contrast

On white

1.53
#CDD970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#CDD970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD970
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD970#FFFFFF#000000##000000
##CDD9701.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D067
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#D8CFC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd970;
/* rgb */ color: rgb(205, 217, 112);
/* oklch */ color: oklch(85.4% 0.131 114.6);
Tailwind
colors: {
  custom: {
    50: '#dee49b',
    500: '#cdd970',
    950: '#000000',
  },
}
SCSS
$custom: #cdd970;
$custom-light: #dee49b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd970",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 66.857,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85413,
    "c": 0.13051,
    "h": 114.6
  },
  "luminance": 0.63775
}

Semantic roles & 50–950 ramp

primary
#CDD970
secondary
#5146A7
accent
#20C633
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD970

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

Preview Lab → · Contrast checker → · Palette generator →

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