#CCA93B#CCA93B

#CCA93B is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.7% C 0.131 H 90.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CCA93B
RGBrgb(204, 169, 59)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 17.2%, 71.1%, 20%)
CIE-LABlab(70.55, 1.28, 58.83)
CIE-LCHlch(70.55, 58.84, 88.76°)
OKLaboklab(74.66% -0.0019 0.1311)
OKLCHoklch(74.66% 0.131 90.9)
XYZxyz(39.8814, 41.5315, 10.0526)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA93B #3B5ECC
analogous
#CC613B #CCA93B #A7CC3B
triadic
#CCA93B #3BCCA9 #A93BCC
tetradic
#CCA93B #3BCC61 #3B5ECC #CC3BA7
square
#CCA93B #3BCC61 #3B5ECC #CC3BA7
split-complementary
#CCA93B #3BA7CC #613BCC
monochromatic
#705C1D #A0842A #CCA93B #D9BE6C #E5D49C

Accessibility & contrast

On white

2.26
#CCA93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CCA93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA93B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA93B#FFFFFF#000000##000000
##CCA93B1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72B
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#DD9B93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cca93b;
/* rgb */ color: rgb(204, 169, 59);
/* oklch */ color: oklch(74.7% 0.131 90.9);
Tailwind
colors: {
  custom: {
    50: '#e0c277',
    500: '#cca93b',
    950: '#000000',
  },
}
SCSS
$custom: #cca93b;
$custom-light: #e0c277;
$custom-dark: #000000;
JSON
{
  "hex": "#cca93b",
  "rgb": {
    "r": 204,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 45.517,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74664,
    "c": 0.13107,
    "h": 90.9
  },
  "luminance": 0.41529
}

Semantic roles & 50–950 ramp

primary
#CCA93B
secondary
#92A1D1
accent
#6CE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA93B

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

Preview Lab → · Contrast checker → · Palette generator →

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