#CDD151#CDD151

#CDD151 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.3% C 0.149 H 110.9°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CDD151
RGBrgb(205, 209, 81)
HSLhsl(62, 58%, 57%)
HSVhsv(62, 61%, 82%)
CMYKcmyk(1.9%, 0%, 61.2%, 18%)
CIE-LABlab(81.39, -17.60, 61.07)
CIE-LCHlch(81.39, 63.55, 106.07°)
OKLaboklab(83.35% -0.0533 0.1393)
OKLCHoklch(83.35% 0.149 110.9)
XYZxyz(49.4639, 59.1753, 16.5993)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD151 #5551D1
analogous
#D19551 #CDD151 #8DD151
triadic
#CDD151 #51CDD1 #D151CD
tetradic
#CDD151 #51D195 #5551D1 #D1518D
square
#CDD151 #51D195 #5551D1 #D1518D
split-complementary
#CDD151 #518DD1 #9551D1
monochromatic
#828523 #B1B530 #CDD151 #DBDE81 #E9EBB2

Accessibility & contrast

On white

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

On black

12.83
#CDD151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD151
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD151#FFFFFF#000000##000000
##CDD1511.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C841
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#DAC5B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd151;
/* rgb */ color: rgb(205, 209, 81);
/* oklch */ color: oklch(83.3% 0.149 110.9);
Tailwind
colors: {
  custom: {
    50: '#dfde87',
    500: '#cdd151',
    950: '#000000',
  },
}
SCSS
$custom: #cdd151;
$custom-light: #dfde87;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd151",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 61.875,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83348,
    "c": 0.14912,
    "h": 110.9
  },
  "luminance": 0.59174
}

Semantic roles & 50–950 ramp

primary
#CDD151
secondary
#3D3B8B
accent
#46E14B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD151

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

Preview Lab → · Contrast checker → · Palette generator →

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