#C8AB47#C8AB47

#C8AB47 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.8% C 0.123 H 93.0°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#C8AB47
RGBrgb(200, 171, 71)
HSLhsl(47, 54%, 53%)
HSVhsv(47, 65%, 78%)
CMYKcmyk(0%, 14.5%, 64.5%, 21.6%)
CIE-LABlab(70.78, -0.84, 53.83)
CIE-LCHlch(70.78, 53.84, 90.89°)
OKLaboklab(74.79% -0.0063 0.1226)
OKLCHoklch(74.79% 0.123 93)
XYZxyz(39.5215, 41.8622, 11.9585)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB47 #4764C8
analogous
#C86A47 #C8AB47 #A4C847
triadic
#C8AB47 #47C8AB #AB47C8
tetradic
#C8AB47 #47C86A #4764C8 #C847A4
square
#C8AB47 #47C86A #4764C8 #C847A4
split-complementary
#C8AB47 #47A4C8 #6A47C8
monochromatic
#726022 #A28830 #C8AB47 #D6C176 #E4D6A5

Accessibility & contrast

On white

2.24
#C8AB47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#C8AB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB47
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB47#FFFFFF#000000##000000
##C8AB471.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83B
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#D79E96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab47;
/* rgb */ color: rgb(200, 171, 71);
/* oklch */ color: oklch(74.8% 0.123 93.0);
Tailwind
colors: {
  custom: {
    50: '#dcc37f',
    500: '#c8ab47',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab47;
$custom-light: #dcc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab47",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 46.512,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74786,
    "c": 0.12279,
    "h": 93
  },
  "luminance": 0.4186
}

Semantic roles & 50–950 ramp

primary
#C8AB47
secondary
#9AA6D1
accent
#6BDD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C8AB47

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

Preview Lab → · Contrast checker → · Palette generator →

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