#CDD85B#CDD85B

#CDD85B is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.149 H 113.8°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#CDD85B
RGBrgb(205, 216, 91)
HSLhsl(65, 62%, 60%)
HSVhsv(65, 58%, 85%)
CMYKcmyk(5.1%, 0%, 57.9%, 15.3%)
CIE-LABlab(83.36, -20.34, 58.95)
CIE-LCHlch(83.36, 62.36, 109.03°)
OKLaboklab(84.95% -0.06 0.1361)
OKLCHoklch(84.95% 0.149 113.8)
XYZxyz(51.6222, 62.8471, 19.3068)
Luminance0.6285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD85B #665BD8
analogous
#D8A45B #CDD85B #8ED85B
triadic
#CDD85B #5BCDD8 #D85BCD
tetradic
#CDD85B #5BD8A4 #665BD8 #D85B8E
square
#CDD85B #5BD8A4 #665BD8 #D85B8E
split-complementary
#CDD85B #5B8ED8 #A45BD8
monochromatic
#8B9523 #B9C72F #CDD85B #DCE48C #EBF0BE

Accessibility & contrast

On white

1.55
#CDD85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#CDD85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD85B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD85B#FFFFFF#000000##000000
##CDD85B1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4D
Deuteranopia (green-blind)
#E6D163
Tritanopia (blue-blind)
#D9CCBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd85b;
/* rgb */ color: rgb(205, 216, 91);
/* oklch */ color: oklch(85.0% 0.149 113.8);
Tailwind
colors: {
  custom: {
    50: '#dfe38e',
    500: '#cdd85b',
    950: '#000000',
  },
}
SCSS
$custom: #cdd85b;
$custom-light: #dfe38e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd85b",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 65.28,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84954,
    "c": 0.1487,
    "h": 113.8
  },
  "luminance": 0.62846
}

Semantic roles & 50–950 ramp

primary
#CDD85B
secondary
#453D9A
accent
#1CC92B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD85B

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

Preview Lab → · Contrast checker → · Palette generator →

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