#CDD140#CDD140

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

Color values

HEX#CDD140
RGBrgb(205, 209, 64)
HSLhsl(62, 61%, 54%)
HSVhsv(62, 69%, 82%)
CMYKcmyk(1.9%, 0%, 69.4%, 18%)
CIE-LABlab(81.26, -18.59, 67.60)
CIE-LCHlch(81.26, 70.11, 105.38°)
OKLaboklab(83.21% -0.0577 0.1504)
OKLCHoklch(83.21% 0.161 111)
XYZxyz(48.9043, 58.9515, 13.6521)
Luminance0.5895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD140 #4440D1
analogous
#D18C40 #CDD140 #84D140
triadic
#CDD140 #40CDD1 #D140CD
tetradic
#CDD140 #40D18C #4440D1 #D14084
square
#CDD140 #40D18C #4440D1 #D14084
split-complementary
#CDD140 #4084D1 #8C40D1
monochromatic
#77791D #A7AB29 #CDD140 #DADD71 #E7E9A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD140#FFFFFF#000000##000000
##CDD1401.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)
#E1C828
Deuteranopia (green-blind)
#E2CC4B
Tritanopia (blue-blind)
#DBC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd140;
/* rgb */ color: rgb(205, 209, 64);
/* oklch */ color: oklch(83.2% 0.161 111.0);
Tailwind
colors: {
  custom: {
    50: '#e0de7e',
    500: '#cdd140',
    950: '#000000',
  },
}
SCSS
$custom: #cdd140;
$custom-light: #e0de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd140",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 61.655,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8321,
    "c": 0.16114,
    "h": 111
  },
  "luminance": 0.5895
}

Semantic roles & 50–950 ramp

primary
#CDD140
secondary
#363481
accent
#44E448
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDD140

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

Preview Lab → · Contrast checker → · Palette generator →

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