#CCD99B#CCD99B

#CCD99B is a very light, moderate yellow-green. Relative luminance 0.648; OKLCH L 86.0% C 0.083 H 117.8°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#CCD99B
RGBrgb(204, 217, 155)
HSLhsl(73, 45%, 73%)
HSVhsv(73, 29%, 85%)
CMYKcmyk(6%, 0%, 28.6%, 14.9%)
CIE-LABlab(84.40, -14.50, 29.16)
CIE-LCHlch(84.40, 32.57, 116.44°)
OKLaboklab(86.03% -0.0386 0.0732)
OKLCHoklch(86.03% 0.083 117.8)
XYZxyz(55.6308, 64.8299, 40.5867)
Luminance0.6483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD99B #A89BD9
analogous
#D9C79B #CCD99B #ADD99B
triadic
#CCD99B #9BCCD9 #D99BCC
tetradic
#CCD99B #9BD9C7 #A89BD9 #D99BAD
square
#CCD99B #9BD9C7 #A89BD9 #D99BAD
split-complementary
#CCD99B #9BADD9 #C79BD9
monochromatic
#9DB545 #B5C86F #CCD99B #E3EAC7 #F4F7E9

Accessibility & contrast

On white

1.50
#CCD99B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#CCD99B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD99B
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD99B#FFFFFF#000000##000000
##CCD99B1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D297
Deuteranopia (green-blind)
#E0D39E
Tritanopia (blue-blind)
#D2D2C9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ccd99b;
/* rgb */ color: rgb(204, 217, 155);
/* oklch */ color: oklch(86.0% 0.083 117.8);
Tailwind
colors: {
  custom: {
    50: '#dce4b9',
    500: '#ccd99b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd99b;
$custom-light: #dce4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd99b",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 155
  },
  "hsl": {
    "h": 72.581,
    "s": 44.928,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86034,
    "c": 0.0827,
    "h": 117.8
  },
  "luminance": 0.6483
}

Semantic roles & 50–950 ramp

primary
#CCD99B
secondary
#7768B0
accent
#2DB84A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD99B

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

Preview Lab → · Contrast checker → · Palette generator →

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