#C8AB3F#C8AB3F

#C8AB3F is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.129 H 93.9°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#C8AB3F
RGBrgb(200, 171, 63)
HSLhsl(47, 55%, 52%)
HSVhsv(47, 69%, 78%)
CMYKcmyk(0%, 14.5%, 68.5%, 21.6%)
CIE-LABlab(70.71, -1.31, 57.22)
CIE-LCHlch(70.71, 57.24, 91.31°)
OKLaboklab(74.71% -0.0087 0.1285)
OKLCHoklch(74.71% 0.129 93.9)
XYZxyz(39.2815, 41.7662, 10.6943)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB3F #3F5CC8
analogous
#C8673F #C8AB3F #A1C83F
triadic
#C8AB3F #3FC8AB #AB3FC8
tetradic
#C8AB3F #3FC867 #3F5CC8 #C83FA1
square
#C8AB3F #3FC867 #3F5CC8 #C83FA1
split-complementary
#C8AB3F #3FA1C8 #673FC8
monochromatic
#6D5D1F #9D852D #C8AB3F #D6C06F #E3D59E

Accessibility & contrast

On white

2.25
#C8AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#C8AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB3F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB3F#FFFFFF#000000##000000
##C8AB3F1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D89E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab3f;
/* rgb */ color: rgb(200, 171, 63);
/* oklch */ color: oklch(74.7% 0.129 93.9);
Tailwind
colors: {
  custom: {
    50: '#dcc37a',
    500: '#c8ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab3f;
$custom-light: #dcc37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab3f",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 47.299,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74712,
    "c": 0.12881,
    "h": 93.9
  },
  "luminance": 0.41764
}

Semantic roles & 50–950 ramp

primary
#C8AB3F
secondary
#93A0D0
accent
#69DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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