#CCBC4E#CCBC4E

#CCBC4E is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.8% C 0.131 H 101.1°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#CCBC4E
RGBrgb(204, 188, 78)
HSLhsl(52, 55%, 55%)
HSVhsv(52, 62%, 80%)
CMYKcmyk(0%, 7.8%, 61.8%, 20%)
CIE-LABlab(75.67, -7.58, 56.15)
CIE-LCHlch(75.67, 56.66, 97.69°)
OKLaboklab(78.77% -0.0251 0.1285)
OKLCHoklch(78.77% 0.131 101.1)
XYZxyz(44.2619, 49.3557, 14.4014)
Luminance0.4935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC4E #4E5ECC
analogous
#CC7D4E #CCBC4E #9DCC4E
triadic
#CCBC4E #4ECCBC #BC4ECC
tetradic
#CCBC4E #4ECC7D #4E5ECC #CC4E9D
square
#CCBC4E #4ECC7D #4E5ECC #CC4E9D
split-complementary
#CCBC4E #4E9DCC #7D4ECC
monochromatic
#7C7124 #AB9C31 #CCBC4E #DACE7E #E7E0AD

Accessibility & contrast

On white

1.93
#CCBC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#CCBC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC4E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC4E#FFFFFF#000000##000000
##CCBC4E1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB741
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#DBB0A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbc4e;
/* rgb */ color: rgb(204, 188, 78);
/* oklch */ color: oklch(78.8% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#decf84',
    500: '#ccbc4e',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc4e;
$custom-light: #decf84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc4e",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 78
  },
  "hsl": {
    "h": 52.381,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78768,
    "c": 0.1309,
    "h": 101.1
  },
  "luminance": 0.49354
}

Semantic roles & 50–950 ramp

primary
#CCBC4E
secondary
#A1A7D5
accent
#5CDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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