#CCB04E#CCB04E

#CCB04E is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.121 H 93.4°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CCB04E
RGBrgb(204, 176, 78)
HSLhsl(47, 55%, 55%)
HSVhsv(47, 62%, 80%)
CMYKcmyk(0%, 13.7%, 61.8%, 20%)
CIE-LABlab(72.52, -1.31, 52.69)
CIE-LCHlch(72.52, 52.71, 91.43°)
OKLaboklab(76.27% -0.0071 0.1211)
OKLCHoklch(76.27% 0.121 93.4)
XYZxyz(41.8042, 44.4402, 13.5821)
Luminance0.4444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB04E #4E6ACC
analogous
#CC714E #CCB04E #A9CC4E
triadic
#CCB04E #4ECCB0 #B04ECC
tetradic
#CCB04E #4ECC71 #4E6ACC #CC4EA9
square
#CCB04E #4ECC71 #4E6ACC #CC4EA9
split-complementary
#CCB04E #4EA9CC #714ECC
monochromatic
#7C6824 #AB9031 #CCB04E #DAC57E #E7DAAD

Accessibility & contrast

On white

2.12
#CCB04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CCB04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB04E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB04E#FFFFFF#000000##000000
##CCB04E1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD43
Deuteranopia (green-blind)
#C8B552
Tritanopia (blue-blind)
#DBA39B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb04e;
/* rgb */ color: rgb(204, 176, 78);
/* oklch */ color: oklch(76.3% 0.121 93.4);
Tailwind
colors: {
  custom: {
    50: '#dfc783',
    500: '#ccb04e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb04e;
$custom-light: #dfc783;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb04e",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 78
  },
  "hsl": {
    "h": 46.667,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76274,
    "c": 0.12131,
    "h": 93.4
  },
  "luminance": 0.44438
}

Semantic roles & 50–950 ramp

primary
#CCB04E
secondary
#A1ACD5
accent
#6ADF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB04E

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

Preview Lab → · Contrast checker → · Palette generator →

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