#CCBA53#CCBA53

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

Color values

HEX#CCBA53
RGBrgb(204, 186, 83)
HSLhsl(51, 54%, 56%)
HSVhsv(51, 59%, 80%)
CMYKcmyk(0%, 8.8%, 59.3%, 20%)
CIE-LABlab(75.19, -6.20, 53.38)
CIE-LCHlch(75.19, 53.74, 96.63°)
OKLaboklab(78.4% -0.0206 0.1232)
OKLCHoklch(78.4% 0.125 99.5)
XYZxyz(44.0238, 48.5816, 15.2402)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA53 #5365CC
analogous
#CC7E53 #CCBA53 #A2CC53
triadic
#CCBA53 #53CCBA #BA53CC
tetradic
#CCBA53 #53CC7E #5365CC #CC53A2
square
#CCBA53 #53CC7E #5365CC #CC53A2
split-complementary
#CCBA53 #53A2CC #7E53CC
monochromatic
#7F7226 #AE9C34 #CCBA53 #DACD82 #E8E0B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBA53#FFFFFF#000000##000000
##CCBA531.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)
#CAB548
Deuteranopia (green-blind)
#CFBC58
Tritanopia (blue-blind)
#DBAEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba53;
/* rgb */ color: rgb(204, 186, 83);
/* oklch */ color: oklch(78.4% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#dece87',
    500: '#ccba53',
    950: '#000000',
  },
}
SCSS
$custom: #ccba53;
$custom-light: #dece87;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba53",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 83
  },
  "hsl": {
    "h": 51.074,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78401,
    "c": 0.12494,
    "h": 99.5
  },
  "luminance": 0.4858
}

Semantic roles & 50–950 ramp

primary
#CCBA53
secondary
#A4ACD6
accent
#60DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130B
muted
#84827C

Preview Lab

Preview with #CCBA53

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

Preview Lab → · Contrast checker → · Palette generator →

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