#CDD95F#CDD95F

#CDD95F is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.2% C 0.146 H 114.2°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#CDD95F
RGBrgb(205, 217, 95)
HSLhsl(66, 62%, 61%)
HSVhsv(66, 56%, 85%)
CMYKcmyk(5.5%, 0%, 56.2%, 14.9%)
CIE-LABlab(83.67, -20.52, 57.54)
CIE-LCHlch(83.67, 61.09, 109.63°)
OKLaboklab(85.21% -0.0601 0.1335)
OKLCHoklch(85.21% 0.146 114.2)
XYZxyz(52.0563, 63.4319, 20.3256)
Luminance0.6343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD95F #6B5FD9
analogous
#D9A85F #CDD95F #90D95F
triadic
#CDD95F #5FCDD9 #D95FCD
tetradic
#CDD95F #5FD9A8 #6B5FD9 #D95F90
square
#CDD95F #5FD9A8 #6B5FD9 #D95F90
split-complementary
#CDD95F #5F90D9 #A85FD9
monochromatic
#8E9924 #BBCB30 #CDD95F #DCE590 #ECF0C2

Accessibility & contrast

On white

1.53
#CDD95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#CDD95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD95F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD95F#FFFFFF#000000##000000
##CDD95F1.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#D9CEBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd95f;
/* rgb */ color: rgb(205, 217, 95);
/* oklch */ color: oklch(85.2% 0.146 114.2);
Tailwind
colors: {
  custom: {
    50: '#dfe490',
    500: '#cdd95f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd95f;
$custom-light: #dfe490;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd95f",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 65.902,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85212,
    "c": 0.14642,
    "h": 114.2
  },
  "luminance": 0.63431
}

Semantic roles & 50–950 ramp

primary
#CDD95F
secondary
#483F9E
accent
#1CC92D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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