#CDD95A#CDD95A

#CDD95A is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.151 H 114.1°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#CDD95A
RGBrgb(205, 217, 90)
HSLhsl(66, 63%, 60%)
HSVhsv(66, 59%, 85%)
CMYKcmyk(5.5%, 0%, 58.5%, 14.9%)
CIE-LABlab(83.62, -20.90, 59.68)
CIE-LCHlch(83.62, 63.23, 109.30°)
OKLaboklab(85.16% -0.0616 0.1375)
OKLCHoklch(85.16% 0.151 114.1)
XYZxyz(51.8363, 63.3439, 19.1668)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD95A #665AD9
analogous
#D9A55A #CDD95A #8ED95A
triadic
#CDD95A #5ACDD9 #D95ACD
tetradic
#CDD95A #5AD9A5 #665AD9 #D95A8E
square
#CDD95A #5AD9A5 #665AD9 #D95A8E
split-complementary
#CDD95A #5A8ED9 #A55AD9
monochromatic
#8B9623 #B9C82E #CDD95A #DCE48C #EBF0BD

Accessibility & contrast

On white

1.54
#CDD95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#CDD95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD95A
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD95A#FFFFFF#000000##000000
##CDD95A1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4C
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#D9CDBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd95a;
/* rgb */ color: rgb(205, 217, 90);
/* oklch */ color: oklch(85.2% 0.151 114.1);
Tailwind
colors: {
  custom: {
    50: '#dfe48d',
    500: '#cdd95a',
    950: '#000000',
  },
}
SCSS
$custom: #cdd95a;
$custom-light: #dfe48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd95a",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 65.669,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8516,
    "c": 0.15069,
    "h": 114.1
  },
  "luminance": 0.63343
}

Semantic roles & 50–950 ramp

primary
#CDD95A
secondary
#453C9B
accent
#1BCA2C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD95A

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

Preview Lab → · Contrast checker → · Palette generator →

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