#CCDB4F#CCDB4F

#CCDB4F is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.4% C 0.162 H 115.1°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#CCDB4F
RGBrgb(204, 219, 79)
HSLhsl(66, 66%, 58%)
HSVhsv(66, 64%, 86%)
CMYKcmyk(6.8%, 0%, 63.9%, 14.1%)
CIE-LABlab(84.00, -23.03, 64.63)
CIE-LCHlch(84.00, 68.61, 109.61°)
OKLaboklab(85.41% -0.0687 0.1466)
OKLCHoklch(85.41% 0.162 115.1)
XYZxyz(51.6459, 64.0657, 17.0409)
Luminance0.6407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDB4F #5E4FDB
analogous
#DBA44F #CCDB4F #86DB4F
triadic
#CCDB4F #4FCCDB #DB4FCC
tetradic
#CCDB4F #4FDBA4 #5E4FDB #DB4F86
square
#CCDB4F #4FDBA4 #5E4FDB #DB4F86
split-complementary
#CCDB4F #4F86DB #A44FDB
monochromatic
#85921E #B4C528 #CCDB4F #DBE582 #E9F0B5

Accessibility & contrast

On white

1.52
#CCDB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#CCDB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDB4F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDB4F#FFFFFF#000000##000000
##CCDB4F1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03C
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#D8CFBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccdb4f;
/* rgb */ color: rgb(204, 219, 79);
/* oklch */ color: oklch(85.4% 0.162 115.1);
Tailwind
colors: {
  custom: {
    50: '#dfe687',
    500: '#ccdb4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccdb4f;
$custom-light: #dfe687;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdb4f",
  "rgb": {
    "r": 204,
    "g": 219,
    "b": 79
  },
  "hsl": {
    "h": 66.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85414,
    "c": 0.16184,
    "h": 115.1
  },
  "luminance": 0.64065
}

Semantic roles & 50–950 ramp

primary
#CCDB4F
secondary
#423797
accent
#3FE951
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCDB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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