#C8AA33#C8AA33

#C8AA33 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.4% C 0.136 H 94.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#C8AA33
RGBrgb(200, 170, 51)
HSLhsl(48, 59%, 49%)
HSVhsv(48, 75%, 78%)
CMYKcmyk(0%, 15%, 74.5%, 21.6%)
CIE-LABlab(70.36, -1.37, 61.61)
CIE-LCHlch(70.36, 61.63, 91.28°)
OKLaboklab(74.41% -0.0102 0.1356)
OKLCHoklch(74.41% 0.136 94.3)
XYZxyz(38.7938, 41.2700, 9.0539)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA33 #3351C8
analogous
#C85F33 #C8AA33 #9CC833
triadic
#C8AA33 #33C8AA #AA33C8
tetradic
#C8AA33 #33C85F #3351C8 #C8339C
square
#C8AA33 #33C85F #3351C8 #C8339C
split-complementary
#C8AA33 #339CC8 #5F33C8
monochromatic
#66571A #978127 #C8AA33 #D7BF61 #E3D392

Accessibility & contrast

On white

2.27
#C8AA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#C8AA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AA33
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AA33#FFFFFF#000000##000000
##C8AA331.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71E
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#D89C93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8aa33;
/* rgb */ color: rgb(200, 170, 51);
/* oklch */ color: oklch(74.4% 0.136 94.3);
Tailwind
colors: {
  custom: {
    50: '#ddc273',
    500: '#c8aa33',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa33;
$custom-light: #ddc273;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa33",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 47.919,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74413,
    "c": 0.13599,
    "h": 94.3
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

primary
#C8AA33
secondary
#8997CE
accent
#65E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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