#CCB14A#CCB14A

#CCB14A is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.125 H 94.5°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CCB14A
RGBrgb(204, 177, 74)
HSLhsl(48, 56%, 55%)
HSVhsv(48, 64%, 80%)
CMYKcmyk(0%, 13.2%, 63.7%, 20%)
CIE-LABlab(72.75, -2.10, 54.74)
CIE-LCHlch(72.75, 54.78, 92.20°)
OKLaboklab(76.44% -0.0099 0.1249)
OKLCHoklch(76.44% 0.125 94.5)
XYZxyz(41.8619, 44.7782, 12.9153)
Luminance0.4478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB14A #4A65CC
analogous
#CC704A #CCB14A #A6CC4A
triadic
#CCB14A #4ACCB1 #B14ACC
tetradic
#CCB14A #4ACC70 #4A65CC #CC4AA6
square
#CCB14A #4ACC70 #4A65CC #CC4AA6
split-complementary
#CCB14A #4AA6CC #704ACC
monochromatic
#796722 #A99030 #CCB14A #D9C67A #E7DAA9

Accessibility & contrast

On white

2.11
#CCB14A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#CCB14A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB14A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB14A#FFFFFF#000000##000000
##CCB14A1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3E
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#DCA49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb14a;
/* rgb */ color: rgb(204, 177, 74);
/* oklch */ color: oklch(76.4% 0.125 94.5);
Tailwind
colors: {
  custom: {
    50: '#dfc881',
    500: '#ccb14a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb14a;
$custom-light: #dfc881;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb14a",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 74
  },
  "hsl": {
    "h": 47.538,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76439,
    "c": 0.12528,
    "h": 94.5
  },
  "luminance": 0.44776
}

Semantic roles & 50–950 ramp

primary
#CCB14A
secondary
#9DA9D4
accent
#68DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB14A

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

Preview Lab → · Contrast checker → · Palette generator →

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