#CCBA4B#CCBA4B

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

Color values

HEX#CCBA4B
RGBrgb(204, 186, 75)
HSLhsl(52, 56%, 55%)
HSVhsv(52, 63%, 80%)
CMYKcmyk(0%, 8.8%, 63.2%, 20%)
CIE-LABlab(75.12, -6.74, 56.86)
CIE-LCHlch(75.12, 57.26, 96.76°)
OKLaboklab(78.32% -0.023 0.1296)
OKLCHoklch(78.32% 0.132 100.1)
XYZxyz(43.7325, 48.4651, 13.7064)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA4B #4B5DCC
analogous
#CC7A4B #CCBA4B #9ECC4B
triadic
#CCBA4B #4BCCBA #BA4BCC
tetradic
#CCBA4B #4BCC7A #4B5DCC #CC4B9E
square
#CCBA4B #4BCC7A #4B5DCC #CC4B9E
split-complementary
#CCBA4B #4B9ECC #7A4BCC
monochromatic
#7A6E23 #AA9930 #CCBA4B #DACC7B #E7DFAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBA4B#FFFFFF#000000##000000
##CCBA4B1.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)
#CBB53E
Deuteranopia (green-blind)
#D0BC51
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba4b;
/* rgb */ color: rgb(204, 186, 75);
/* oklch */ color: oklch(78.3% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#dfce82',
    500: '#ccba4b',
    950: '#000000',
  },
}
SCSS
$custom: #ccba4b;
$custom-light: #dfce82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba4b",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 51.628,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7832,
    "c": 0.13158,
    "h": 100.1
  },
  "luminance": 0.48463
}

Semantic roles & 50–950 ramp

primary
#CCBA4B
secondary
#9EA6D5
accent
#5EDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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