#C8AB42#C8AB42

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

Color values

HEX#C8AB42
RGBrgb(200, 171, 66)
HSLhsl(47, 55%, 52%)
HSVhsv(47, 67%, 78%)
CMYKcmyk(0%, 14.5%, 67%, 21.6%)
CIE-LABlab(70.73, -1.14, 55.98)
CIE-LCHlch(70.73, 55.99, 91.17°)
OKLaboklab(74.74% -0.0078 0.1264)
OKLCHoklch(74.74% 0.127 93.5)
XYZxyz(39.3676, 41.8007, 11.1479)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB42 #425FC8
analogous
#C86842 #C8AB42 #A2C842
triadic
#C8AB42 #42C8AB #AB42C8
tetradic
#C8AB42 #42C868 #425FC8 #C842A2
square
#C8AB42 #42C868 #425FC8 #C842A2
split-complementary
#C8AB42 #42A2C8 #6842C8
monochromatic
#6F5E20 #9F862E #C8AB42 #D6C071 #E4D5A1

Accessibility & contrast

On white

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

On black

9.36
#C8AB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB42
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB42#FFFFFF#000000##000000
##C8AB421.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ab42;
/* rgb */ color: rgb(200, 171, 66);
/* oklch */ color: oklch(74.7% 0.127 93.5);
Tailwind
colors: {
  custom: {
    50: '#dcc37c',
    500: '#c8ab42',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab42;
$custom-light: #dcc37c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab42",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 47.015,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74738,
    "c": 0.12663,
    "h": 93.5
  },
  "luminance": 0.41799
}

Semantic roles & 50–950 ramp

primary
#C8AB42
secondary
#96A2D0
accent
#6ADE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#15120A
muted
#84817C

Preview Lab

Preview with #C8AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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