#CCB54D#CCB54D

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

Color values

HEX#CCB54D
RGBrgb(204, 181, 77)
HSLhsl(49, 55%, 55%)
HSVhsv(49, 62%, 80%)
CMYKcmyk(0%, 11.3%, 62.3%, 20%)
CIE-LABlab(73.82, -4.01, 54.57)
CIE-LCHlch(73.82, 54.72, 94.20°)
OKLaboklab(77.3% -0.015 0.125)
OKLCHoklch(77.3% 0.126 96.8)
XYZxyz(42.7671, 46.4229, 13.7276)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB54D #4D64CC
analogous
#CC754D #CCB54D #A3CC4D
triadic
#CCB54D #4DCCB5 #B54DCC
tetradic
#CCB54D #4DCC75 #4D64CC #CC4DA3
square
#CCB54D #4DCC75 #4D64CC #CC4DA3
split-complementary
#CCB54D #4DA3CC #754DCC
monochromatic
#7B6B23 #AB9531 #CCB54D #DAC97D #E7DDAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB54D#FFFFFF#000000##000000
##CCB54D1.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)
#C6B141
Deuteranopia (green-blind)
#CCB952
Tritanopia (blue-blind)
#DBA89F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb54d;
/* rgb */ color: rgb(204, 181, 77);
/* oklch */ color: oklch(77.3% 0.126 96.8);
Tailwind
colors: {
  custom: {
    50: '#dfca83',
    500: '#ccb54d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb54d;
$custom-light: #dfca83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb54d",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 49.134,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77297,
    "c": 0.12587,
    "h": 96.8
  },
  "luminance": 0.46421
}

Semantic roles & 50–950 ramp

primary
#CCB54D
secondary
#A0A9D5
accent
#64DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB54D

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

Preview Lab → · Contrast checker → · Palette generator →

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