#C8AA3B#C8AA3B

#C8AA3B is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.5% C 0.131 H 93.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#C8AA3B
RGBrgb(200, 170, 59)
HSLhsl(47, 56%, 51%)
HSVhsv(47, 71%, 78%)
CMYKcmyk(0%, 15%, 70.5%, 21.6%)
CIE-LABlab(70.42, -0.99, 58.57)
CIE-LCHlch(70.42, 58.58, 90.97°)
OKLaboklab(74.47% -0.0082 0.1307)
OKLCHoklch(74.47% 0.131 93.6)
XYZxyz(38.9856, 41.3468, 10.0641)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA3B #3B59C8
analogous
#C8633B #C8AA3B #9FC83B
triadic
#C8AA3B #3BC8AA #AA3BC8
tetradic
#C8AA3B #3BC863 #3B59C8 #C83B9F
square
#C8AA3B #3BC863 #3B59C8 #C83B9F
split-complementary
#C8AA3B #3B9FC8 #633BC8
monochromatic
#6B5A1E #9A832B #C8AA3B #D5BF6B #E3D39B

Accessibility & contrast

On white

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

On black

9.27
#C8AA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AA3B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AA3B#FFFFFF#000000##000000
##C8AA3B1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72B
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#D89D93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8aa3b;
/* rgb */ color: rgb(200, 170, 59);
/* oklch */ color: oklch(74.5% 0.131 93.6);
Tailwind
colors: {
  custom: {
    50: '#ddc277',
    500: '#c8aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa3b;
$custom-light: #ddc277;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa3b",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 47.234,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74472,
    "c": 0.13093,
    "h": 93.6
  },
  "luminance": 0.41345
}

Semantic roles & 50–950 ramp

primary
#C8AA3B
secondary
#909DCF
accent
#68DF48
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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