#C8AB3E#C8AB3E

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

Color values

HEX#C8AB3E
RGBrgb(200, 171, 62)
HSLhsl(47, 56%, 51%)
HSVhsv(47, 69%, 78%)
CMYKcmyk(0%, 14.5%, 69%, 21.6%)
CIE-LABlab(70.70, -1.36, 57.63)
CIE-LCHlch(70.70, 57.65, 91.36°)
OKLaboklab(74.7% -0.0089 0.1292)
OKLCHoklch(74.7% 0.13 94)
XYZxyz(39.2538, 41.7551, 10.5485)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB3E #3E5BC8
analogous
#C8663E #C8AB3E #A0C83E
triadic
#C8AB3E #3EC8AB #AB3EC8
tetradic
#C8AB3E #3EC866 #3E5BC8 #C83EA0
square
#C8AB3E #3EC866 #3E5BC8 #C83EA0
split-complementary
#C8AB3E #3EA0C8 #663EC8
monochromatic
#6D5C1F #9C852D #C8AB3E #D6C06E #E3D49D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AB3E#FFFFFF#000000##000000
##C8AB3E1.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)
#BDA82F
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#D89E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab3e;
/* rgb */ color: rgb(200, 171, 62);
/* oklch */ color: oklch(74.7% 0.130 94.0);
Tailwind
colors: {
  custom: {
    50: '#dcc379',
    500: '#c8ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab3e;
$custom-light: #dcc379;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab3e",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 47.391,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74703,
    "c": 0.12952,
    "h": 94
  },
  "luminance": 0.41753
}

Semantic roles & 50–950 ramp

primary
#C8AB3E
secondary
#929FCF
accent
#68DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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