#CDD72E#CDD72E

#CDD72E is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.4% C 0.177 H 113.2°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#CDD72E
RGBrgb(205, 215, 46)
HSLhsl(64, 68%, 51%)
HSVhsv(64, 79%, 84%)
CMYKcmyk(4.7%, 0%, 78.6%, 15.7%)
CIE-LABlab(82.80, -22.29, 74.78)
CIE-LCHlch(82.80, 78.03, 106.60°)
OKLaboklab(84.41% -0.0696 0.1626)
OKLCHoklch(84.41% 0.177 113.2)
XYZxyz(49.9721, 61.7784, 11.8762)
Luminance0.6178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD72E #382ED7
analogous
#D78C2E #CDD72E #78D72E
triadic
#CDD72E #2ECDD7 #D72ECD
tetradic
#CDD72E #2ED78C #382ED7 #D72E78
square
#CDD72E #2ED78C #382ED7 #D72E78
split-complementary
#CDD72E #2E78D7 #8C2ED7
monochromatic
#6F7416 #A0A820 #CDD72E #D9E161 #E6EB95

Accessibility & contrast

On white

1.57
#CDD72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#CDD72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD72E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD72E#FFFFFF#000000##000000
##CDD72E1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CC00
Deuteranopia (green-blind)
#E7D03E
Tritanopia (blue-blind)
#DBCAB8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd72e;
/* rgb */ color: rgb(205, 215, 46);
/* oklch */ color: oklch(84.4% 0.177 113.2);
Tailwind
colors: {
  custom: {
    50: '#e0e376',
    500: '#cdd72e',
    950: '#000000',
  },
}
SCSS
$custom: #cdd72e;
$custom-light: #e0e376;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd72e",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 46
  },
  "hsl": {
    "h": 63.55,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84406,
    "c": 0.17682,
    "h": 113.2
  },
  "luminance": 0.61777
}

Semantic roles & 50–950 ramp

primary
#CDD72E
secondary
#312C7D
accent
#3DEB47
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDD72E

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

Preview Lab → · Contrast checker → · Palette generator →

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