#CCA936#CCA936

#CCA936 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.6% C 0.134 H 91.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CCA936
RGBrgb(204, 169, 54)
HSLhsl(46, 60%, 51%)
HSVhsv(46, 74%, 80%)
CMYKcmyk(0%, 17.2%, 73.5%, 20%)
CIE-LABlab(70.51, 1.04, 60.76)
CIE-LCHlch(70.51, 60.77, 89.02°)
OKLaboklab(74.63% -0.0032 0.1342)
OKLCHoklch(74.63% 0.134 91.4)
XYZxyz(39.7579, 41.4821, 9.4021)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA936 #3659CC
analogous
#CC5E36 #CCA936 #A4CC36
triadic
#CCA936 #36CCA9 #A936CC
tetradic
#CCA936 #36CC5E #3659CC #CC36A4
square
#CCA936 #36CC5E #3659CC #CC36A4
split-complementary
#CCA936 #36A4CC #5E36CC
monochromatic
#6C591B #9D8228 #CCA936 #D8BE67 #E5D398

Accessibility & contrast

On white

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

On black

9.30
#CCA936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA936
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA936#FFFFFF#000000##000000
##CCA9361.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA724
Deuteranopia (green-blind)
#C4B13C
Tritanopia (blue-blind)
#DD9B92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cca936;
/* rgb */ color: rgb(204, 169, 54);
/* oklch */ color: oklch(74.6% 0.134 91.4);
Tailwind
colors: {
  custom: {
    50: '#e0c275',
    500: '#cca936',
    950: '#000000',
  },
}
SCSS
$custom: #cca936;
$custom-light: #e0c275;
$custom-dark: #000000;
JSON
{
  "hex": "#cca936",
  "rgb": {
    "r": 204,
    "g": 169,
    "b": 54
  },
  "hsl": {
    "h": 46,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74626,
    "c": 0.13426,
    "h": 91.4
  },
  "luminance": 0.4148
}

Semantic roles & 50–950 ramp

primary
#CCA936
secondary
#8E9DD0
accent
#6AE345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA936

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

Preview Lab → · Contrast checker → · Palette generator →

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