#CCB54E#CCB54E

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

Color values

HEX#CCB54E
RGBrgb(204, 181, 78)
HSLhsl(49, 55%, 55%)
HSVhsv(49, 62%, 80%)
CMYKcmyk(0%, 11.3%, 61.8%, 20%)
CIE-LABlab(73.83, -3.94, 54.14)
CIE-LCHlch(73.83, 54.28, 94.16°)
OKLaboklab(77.31% -0.0147 0.1242)
OKLCHoklch(77.31% 0.125 96.7)
XYZxyz(42.8027, 46.4372, 13.9149)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB54E #4E65CC
analogous
#CC764E #CCB54E #A4CC4E
triadic
#CCB54E #4ECCB5 #B54ECC
tetradic
#CCB54E #4ECC76 #4E65CC #CC4EA4
square
#CCB54E #4ECC76 #4E65CC #CC4EA4
split-complementary
#CCB54E #4EA4CC #764ECC
monochromatic
#7C6C24 #AB9531 #CCB54E #DAC97E #E7DDAD

Accessibility & contrast

On white

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

On black

10.29
#CCB54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB54E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB54E#FFFFFF#000000##000000
##CCB54E1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B143
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#DBA89F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb54e;
/* rgb */ color: rgb(204, 181, 78);
/* oklch */ color: oklch(77.3% 0.125 96.7);
Tailwind
colors: {
  custom: {
    50: '#dfca84',
    500: '#ccb54e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb54e;
$custom-light: #dfca84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb54e",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 78
  },
  "hsl": {
    "h": 49.048,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77307,
    "c": 0.12503,
    "h": 96.7
  },
  "luminance": 0.46435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB54E

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

Preview Lab → · Contrast checker → · Palette generator →

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