#CCA733#CCA733

#CCA733 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.2% C 0.135 H 90.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#CCA733
RGBrgb(204, 167, 51)
HSLhsl(45, 60%, 50%)
HSVhsv(45, 75%, 80%)
CMYKcmyk(0%, 18.1%, 75%, 20%)
CIE-LABlab(69.98, 1.97, 61.38)
CIE-LCHlch(69.98, 61.41, 88.16°)
OKLaboklab(74.2% -0.0009 0.1349)
OKLCHoklch(74.2% 0.135 90.4)
XYZxyz(39.3204, 40.7163, 8.9193)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA733 #3358CC
analogous
#CC5A33 #CCA733 #A5CC33
triadic
#CCA733 #33CCA7 #A733CC
tetradic
#CCA733 #33CC5A #3358CC #CC33A5
square
#CCA733 #33CC5A #3358CC #CC33A5
split-complementary
#CCA733 #33A5CC #5A33CC
monochromatic
#6A571B #9B7F27 #CCA733 #D8BC64 #E4D195

Accessibility & contrast

On white

2.30
#CCA733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#CCA733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA733
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA733#FFFFFF#000000##000000
##CCA7331.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#DD9990
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cca733;
/* rgb */ color: rgb(204, 167, 51);
/* oklch */ color: oklch(74.2% 0.135 90.4);
Tailwind
colors: {
  custom: {
    50: '#e0c073',
    500: '#cca733',
    950: '#000000',
  },
}
SCSS
$custom: #cca733;
$custom-light: #e0c073;
$custom-dark: #000000;
JSON
{
  "hex": "#cca733",
  "rgb": {
    "r": 204,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 45.49,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.74197,
    "c": 0.13493,
    "h": 90.4
  },
  "luminance": 0.40714
}

Semantic roles & 50–950 ramp

primary
#CCA733
secondary
#8B9CD0
accent
#6BE345
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CCA733

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

Preview Lab → · Contrast checker → · Palette generator →

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