#C8AA3C#C8AA3C

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

Color values

HEX#C8AA3C
RGBrgb(200, 170, 60)
HSLhsl(47, 56%, 51%)
HSVhsv(47, 70%, 78%)
CMYKcmyk(0%, 15%, 70%, 21.6%)
CIE-LABlab(70.43, -0.94, 58.17)
CIE-LCHlch(70.43, 58.18, 90.93°)
OKLaboklab(74.48% -0.0079 0.13)
OKLCHoklch(74.48% 0.13 93.5)
XYZxyz(39.0118, 41.3572, 10.2020)
Luminance0.4135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA3C #3C5AC8
analogous
#C8643C #C8AA3C #A0C83C
triadic
#C8AA3C #3CC8AA #AA3CC8
tetradic
#C8AA3C #3CC864 #3C5AC8 #C83CA0
square
#C8AA3C #3CC864 #3C5AC8 #C83CA0
split-complementary
#C8AA3C #3CA0C8 #643CC8
monochromatic
#6B5B1E #9B832C #C8AA3C #D5BF6C #E3D49B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AA3C#FFFFFF#000000##000000
##C8AA3C1.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)
#BCA72D
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#D89D94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8aa3c;
/* rgb */ color: rgb(200, 170, 60);
/* oklch */ color: oklch(74.5% 0.130 93.5);
Tailwind
colors: {
  custom: {
    50: '#dcc278',
    500: '#c8aa3c',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa3c;
$custom-light: #dcc278;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa3c",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 60
  },
  "hsl": {
    "h": 47.143,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7448,
    "c": 0.13025,
    "h": 93.5
  },
  "luminance": 0.41355
}

Semantic roles & 50–950 ramp

primary
#C8AA3C
secondary
#919ECF
accent
#69DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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