#CDD451#CDD451

#CDD451 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.0% C 0.152 H 112.1°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#CDD451
RGBrgb(205, 212, 81)
HSLhsl(63, 60%, 57%)
HSVhsv(63, 62%, 83%)
CMYKcmyk(3.3%, 0%, 61.8%, 16.9%)
CIE-LABlab(82.20, -19.08, 61.93)
CIE-LCHlch(82.20, 64.81, 107.12°)
OKLaboklab(83.99% -0.0574 0.1411)
OKLCHoklch(83.99% 0.152 112.1)
XYZxyz(50.2069, 60.6613, 16.8470)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD451 #5851D4
analogous
#D49951 #CDD451 #8CD451
triadic
#CDD451 #51CDD4 #D451CD
tetradic
#CDD451 #51D499 #5851D4 #D4518C
square
#CDD451 #51D499 #5851D4 #D4518C
split-complementary
#CDD451 #518CD4 #9951D4
monochromatic
#838922 #B2BA2E #CDD451 #DBE082 #E9ECB3

Accessibility & contrast

On white

1.60
#CDD451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#CDD451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD451
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD451#FFFFFF#000000##000000
##CDD4511.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#E4CE59
Tritanopia (blue-blind)
#DAC8B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd451;
/* rgb */ color: rgb(205, 212, 81);
/* oklch */ color: oklch(84.0% 0.152 112.1);
Tailwind
colors: {
  custom: {
    50: '#dfe188',
    500: '#cdd451',
    950: '#000000',
  },
}
SCSS
$custom: #cdd451;
$custom-light: #dfe188;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd451",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 63.206,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83994,
    "c": 0.15235,
    "h": 112.1
  },
  "luminance": 0.6066
}

Semantic roles & 50–950 ramp

primary
#CDD451
secondary
#3F3A8F
accent
#44E44D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD451

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

Preview Lab → · Contrast checker → · Palette generator →

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