#CDD142#CDD142

#CDD142 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.2% C 0.160 H 111.0°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CDD142
RGBrgb(205, 209, 66)
HSLhsl(62, 61%, 54%)
HSVhsv(62, 68%, 82%)
CMYKcmyk(1.9%, 0%, 68.4%, 18%)
CIE-LABlab(81.28, -18.49, 66.88)
CIE-LCHlch(81.28, 69.39, 105.45°)
OKLaboklab(83.23% -0.0573 0.1493)
OKLCHoklch(83.23% 0.16 111)
XYZxyz(48.9622, 58.9747, 13.9573)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD142 #4642D1
analogous
#D18E42 #CDD142 #86D142
triadic
#CDD142 #42CDD1 #D142CD
tetradic
#CDD142 #42D18E #4642D1 #D14286
square
#CDD142 #42D18E #4642D1 #D14286
split-complementary
#CDD142 #4286D1 #8E42D1
monochromatic
#787B1E #A8AC2A #CDD142 #DADD73 #E7E9A4

Accessibility & contrast

On white

1.64
#CDD142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#CDD142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD142
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD142#FFFFFF#000000##000000
##CDD1421.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82B
Deuteranopia (green-blind)
#E2CC4C
Tritanopia (blue-blind)
#DBC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd142;
/* rgb */ color: rgb(205, 209, 66);
/* oklch */ color: oklch(83.2% 0.160 111.0);
Tailwind
colors: {
  custom: {
    50: '#e0de7f',
    500: '#cdd142',
    950: '#000000',
  },
}
SCSS
$custom: #cdd142;
$custom-light: #e0de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd142",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 61.678,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83225,
    "c": 0.15986,
    "h": 111
  },
  "luminance": 0.58973
}

Semantic roles & 50–950 ramp

primary
#CDD142
secondary
#373583
accent
#44E448
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD142

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

Preview Lab → · Contrast checker → · Palette generator →

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