#CCBA4A#CCBA4A

#CCBA4A is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.132 H 100.2°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CCBA4A
RGBrgb(204, 186, 74)
HSLhsl(52, 56%, 55%)
HSVhsv(52, 64%, 80%)
CMYKcmyk(0%, 8.8%, 63.7%, 20%)
CIE-LABlab(75.11, -6.81, 57.29)
CIE-LCHlch(75.11, 57.69, 96.78°)
OKLaboklab(78.31% -0.0233 0.1303)
OKLCHoklch(78.31% 0.132 100.2)
XYZxyz(43.6986, 48.4515, 13.5275)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA4A #4A5CCC
analogous
#CC794A #CCBA4A #9DCC4A
triadic
#CCBA4A #4ACCBA #BA4ACC
tetradic
#CCBA4A #4ACC79 #4A5CCC #CC4A9D
square
#CCBA4A #4ACC79 #4A5CCC #CC4A9D
split-complementary
#CCBA4A #4A9DCC #794ACC
monochromatic
#796D22 #A99830 #CCBA4A #D9CC7A #E7DEA9

Accessibility & contrast

On white

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

On black

10.69
#CCBA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA4A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA4A#FFFFFF#000000##000000
##CCBA4A1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53D
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba4a;
/* rgb */ color: rgb(204, 186, 74);
/* oklch */ color: oklch(78.3% 0.132 100.2);
Tailwind
colors: {
  custom: {
    50: '#dfce81',
    500: '#ccba4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccba4a;
$custom-light: #dfce81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba4a",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 51.692,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7831,
    "c": 0.13238,
    "h": 100.2
  },
  "luminance": 0.4845
}

Semantic roles & 50–950 ramp

primary
#CCBA4A
secondary
#9DA5D4
accent
#5DDF48
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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