#CCB54A#CCB54A

#CCB54A is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.128 H 97.1°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#CCB54A
RGBrgb(204, 181, 74)
HSLhsl(49, 56%, 55%)
HSVhsv(49, 64%, 80%)
CMYKcmyk(0%, 11.3%, 63.7%, 20%)
CIE-LABlab(73.79, -4.20, 55.87)
CIE-LCHlch(73.79, 56.03, 94.30°)
OKLaboklab(77.27% -0.0159 0.1273)
OKLCHoklch(77.27% 0.128 97.1)
XYZxyz(42.6636, 46.3816, 13.1825)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB54A #4A61CC
analogous
#CC744A #CCB54A #A2CC4A
triadic
#CCB54A #4ACCB5 #B54ACC
tetradic
#CCB54A #4ACC74 #4A61CC #CC4AA2
square
#CCB54A #4ACC74 #4A61CC #CC4AA2
split-complementary
#CCB54A #4AA2CC #744ACC
monochromatic
#796A22 #A99430 #CCB54A #D9C97A #E7DCA9

Accessibility & contrast

On white

2.04
#CCB54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#CCB54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB54A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB54A#FFFFFF#000000##000000
##CCB54A1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13E
Deuteranopia (green-blind)
#CCB94F
Tritanopia (blue-blind)
#DBA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb54a;
/* rgb */ color: rgb(204, 181, 74);
/* oklch */ color: oklch(77.3% 0.128 97.1);
Tailwind
colors: {
  custom: {
    50: '#dfca81',
    500: '#ccb54a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb54a;
$custom-light: #dfca81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb54a",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 74
  },
  "hsl": {
    "h": 49.385,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77267,
    "c": 0.12829,
    "h": 97.1
  },
  "luminance": 0.4638
}

Semantic roles & 50–950 ramp

primary
#CCB54A
secondary
#9DA7D4
accent
#63DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB54A

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

Preview Lab → · Contrast checker → · Palette generator →

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