#CCB04D#CCB04D

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

Color values

HEX#CCB04D
RGBrgb(204, 176, 77)
HSLhsl(47, 55%, 55%)
HSVhsv(47, 62%, 80%)
CMYKcmyk(0%, 13.7%, 62.3%, 20%)
CIE-LABlab(72.51, -1.38, 53.14)
CIE-LCHlch(72.51, 53.16, 91.49°)
OKLaboklab(76.26% -0.0074 0.1219)
OKLCHoklch(76.26% 0.122 93.5)
XYZxyz(41.7686, 44.4260, 13.3947)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB04D #4D69CC
analogous
#CC714D #CCB04D #A8CC4D
triadic
#CCB04D #4DCCB0 #B04DCC
tetradic
#CCB04D #4DCC71 #4D69CC #CC4DA8
square
#CCB04D #4DCC71 #4D69CC #CC4DA8
split-complementary
#CCB04D #4DA8CC #714DCC
monochromatic
#7B6823 #AB9031 #CCB04D #DAC57D #E7DAAC

Accessibility & contrast

On white

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

On black

9.88
#CCB04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB04D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB04D#FFFFFF#000000##000000
##CCB04D1.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb04d;
/* rgb */ color: rgb(204, 176, 77);
/* oklch */ color: oklch(76.3% 0.122 93.5);
Tailwind
colors: {
  custom: {
    50: '#dfc783',
    500: '#ccb04d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb04d;
$custom-light: #dfc783;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb04d",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 46.772,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76263,
    "c": 0.12214,
    "h": 93.5
  },
  "luminance": 0.44424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB04D

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

Preview Lab → · Contrast checker → · Palette generator →

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