#CCBA49#CCBA49

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

Color values

HEX#CCBA49
RGBrgb(204, 186, 73)
HSLhsl(52, 56%, 54%)
HSVhsv(52, 64%, 80%)
CMYKcmyk(0%, 8.8%, 64.2%, 20%)
CIE-LABlab(75.10, -6.87, 57.71)
CIE-LCHlch(75.10, 58.12, 96.79°)
OKLaboklab(78.3% -0.0236 0.131)
OKLCHoklch(78.3% 0.133 100.2)
XYZxyz(43.6652, 48.4381, 13.3515)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA49 #495BCC
analogous
#CC7949 #CCBA49 #9CCC49
triadic
#CCBA49 #49CCBA #BA49CC
tetradic
#CCBA49 #49CC79 #495BCC #CC499C
square
#CCBA49 #49CC79 #495BCC #CC499C
split-complementary
#CCBA49 #499CCC #7949CC
monochromatic
#796D22 #A9982F #CCBA49 #D9CC79 #E7DEA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBA49#FFFFFF#000000##000000
##CCBA491.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)
#CBB53B
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba49;
/* rgb */ color: rgb(204, 186, 73);
/* oklch */ color: oklch(78.3% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#dfce81',
    500: '#ccba49',
    950: '#000000',
  },
}
SCSS
$custom: #ccba49;
$custom-light: #dfce81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba49",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 73
  },
  "hsl": {
    "h": 51.756,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78301,
    "c": 0.13316,
    "h": 100.2
  },
  "luminance": 0.48436
}

Semantic roles & 50–950 ramp

primary
#CCBA49
secondary
#9DA4D4
accent
#5DE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBA49

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

Preview Lab → · Contrast checker → · Palette generator →

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