#CCBA54#CCBA54

#CCBA54 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.124 H 99.4°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CCBA54
RGBrgb(204, 186, 84)
HSLhsl(51, 54%, 56%)
HSVhsv(51, 59%, 80%)
CMYKcmyk(0%, 8.8%, 58.8%, 20%)
CIE-LABlab(75.20, -6.13, 52.94)
CIE-LCHlch(75.20, 53.29, 96.61°)
OKLaboklab(78.41% -0.0203 0.1224)
OKLCHoklch(78.41% 0.124 99.4)
XYZxyz(44.0627, 48.5971, 15.4450)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA54 #5466CC
analogous
#CC7E54 #CCBA54 #A2CC54
triadic
#CCBA54 #54CCBA #BA54CC
tetradic
#CCBA54 #54CC7E #5466CC #CC54A2
square
#CCBA54 #54CC7E #5466CC #CC54A2
split-complementary
#CCBA54 #54A2CC #7E54CC
monochromatic
#807226 #AF9C34 #CCBA54 #DACD83 #E8E0B2

Accessibility & contrast

On white

1.96
#CCBA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CCBA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA54
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA54#FFFFFF#000000##000000
##CCBA541.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB549
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#DAAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba54;
/* rgb */ color: rgb(204, 186, 84);
/* oklch */ color: oklch(78.4% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#dece88',
    500: '#ccba54',
    950: '#000000',
  },
}
SCSS
$custom: #ccba54;
$custom-light: #dece88;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba54",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 51,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78412,
    "c": 0.12407,
    "h": 99.4
  },
  "luminance": 0.48595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBA54

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

Preview Lab → · Contrast checker → · Palette generator →

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