#CCB954#CCB954

#CCB954 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.123 H 98.8°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CCB954
RGBrgb(204, 185, 84)
HSLhsl(51, 54%, 56%)
HSVhsv(51, 59%, 80%)
CMYKcmyk(0%, 9.3%, 58.8%, 20%)
CIE-LABlab(74.94, -5.61, 52.64)
CIE-LCHlch(74.94, 52.94, 96.08°)
OKLaboklab(78.2% -0.0188 0.1218)
OKLCHoklch(78.2% 0.123 98.8)
XYZxyz(43.8527, 48.1772, 15.3750)
Luminance0.4818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB954 #5467CC
analogous
#CC7D54 #CCB954 #A3CC54
triadic
#CCB954 #54CCB9 #B954CC
tetradic
#CCB954 #54CC7D #5467CC #CC54A3
square
#CCB954 #54CC7D #5467CC #CC54A3
split-complementary
#CCB954 #54A3CC #7D54CC
monochromatic
#807126 #AF9B34 #CCB954 #DACC83 #E8E0B2

Accessibility & contrast

On white

1.97
#CCB954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CCB954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB954
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB954#FFFFFF#000000##000000
##CCB9541.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54A
Deuteranopia (green-blind)
#CEBB59
Tritanopia (blue-blind)
#DBADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb954;
/* rgb */ color: rgb(204, 185, 84);
/* oklch */ color: oklch(78.2% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#decd88',
    500: '#ccb954',
    950: '#000000',
  },
}
SCSS
$custom: #ccb954;
$custom-light: #decd88;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb954",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 50.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78203,
    "c": 0.1232,
    "h": 98.8
  },
  "luminance": 0.48175
}

Semantic roles & 50–950 ramp

primary
#CCB954
secondary
#A5ADD7
accent
#62DD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB954

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

Preview Lab → · Contrast checker → · Palette generator →

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