#CCB04B#CCB04B

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

Color values

HEX#CCB04B
RGBrgb(204, 176, 75)
HSLhsl(47, 56%, 55%)
HSVhsv(47, 63%, 80%)
CMYKcmyk(0%, 13.7%, 63.2%, 20%)
CIE-LABlab(72.49, -1.51, 54.02)
CIE-LCHlch(72.49, 54.04, 91.60°)
OKLaboklab(76.24% -0.008 0.1235)
OKLCHoklch(76.24% 0.124 93.7)
XYZxyz(41.6991, 44.3982, 13.0285)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB04B #4B67CC
analogous
#CC704B #CCB04B #A7CC4B
triadic
#CCB04B #4BCCB0 #B04BCC
tetradic
#CCB04B #4BCC70 #4B67CC #CC4BA7
square
#CCB04B #4BCC70 #4B67CC #CC4BA7
split-complementary
#CCB04B #4BA7CC #704BCC
monochromatic
#7A6723 #AA8F30 #CCB04B #DAC57B #E7DAAA

Accessibility & contrast

On white

2.13
#CCB04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB04B#FFFFFF#000000##000000
##CCB04B1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD40
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb04b;
/* rgb */ color: rgb(204, 176, 75);
/* oklch */ color: oklch(76.2% 0.124 93.7);
Tailwind
colors: {
  custom: {
    50: '#dfc781',
    500: '#ccb04b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb04b;
$custom-light: #dfc781;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb04b",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 75
  },
  "hsl": {
    "h": 46.977,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76243,
    "c": 0.12377,
    "h": 93.7
  },
  "luminance": 0.44396
}

Semantic roles & 50–950 ramp

primary
#CCB04B
secondary
#9EAAD5
accent
#69DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB04B

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

Preview Lab → · Contrast checker → · Palette generator →

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