#CCD95B#CCD95B

#CCD95B is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.150 H 114.6°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#CCD95B
RGBrgb(204, 217, 91)
HSLhsl(66, 62%, 60%)
HSVhsv(66, 58%, 85%)
CMYKcmyk(6%, 0%, 58.1%, 14.9%)
CIE-LABlab(83.56, -21.23, 59.15)
CIE-LCHlch(83.56, 62.84, 109.74°)
OKLaboklab(85.09% -0.0624 0.1365)
OKLCHoklch(85.09% 0.15 114.6)
XYZxyz(51.6041, 63.2192, 19.3796)
Luminance0.6322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD95B #685BD9
analogous
#D9A75B #CCD95B #8DD95B
triadic
#CCD95B #5BCCD9 #D95BCC
tetradic
#CCD95B #5BD9A7 #685BD9 #D95B8D
square
#CCD95B #5BD9A7 #685BD9 #D95B8D
split-complementary
#CCD95B #5B8DD9 #A75BD9
monochromatic
#8B9723 #B8C82E #CCD95B #DBE58D #EBF0BE

Accessibility & contrast

On white

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

On black

13.64
#CCD95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD95B
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD95B#FFFFFF#000000##000000
##CCD95B1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd95b;
/* rgb */ color: rgb(204, 217, 91);
/* oklch */ color: oklch(85.1% 0.150 114.6);
Tailwind
colors: {
  custom: {
    50: '#dee48e',
    500: '#ccd95b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd95b;
$custom-light: #dee48e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd95b",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 66.19,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85092,
    "c": 0.15011,
    "h": 114.6
  },
  "luminance": 0.63218
}

Semantic roles & 50–950 ramp

primary
#CCD95B
secondary
#473D9B
accent
#1BCA2D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD95B

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

Preview Lab → · Contrast checker → · Palette generator →

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