#C8AB41#C8AB41

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

Color values

HEX#C8AB41
RGBrgb(200, 171, 65)
HSLhsl(47, 55%, 52%)
HSVhsv(47, 68%, 78%)
CMYKcmyk(0%, 14.5%, 67.5%, 21.6%)
CIE-LABlab(70.73, -1.20, 56.40)
CIE-LCHlch(70.73, 56.41, 91.22°)
OKLaboklab(74.73% -0.0081 0.1271)
OKLCHoklch(74.73% 0.127 93.7)
XYZxyz(39.3384, 41.7890, 10.9940)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB41 #415EC8
analogous
#C86841 #C8AB41 #A2C841
triadic
#C8AB41 #41C8AB #AB41C8
tetradic
#C8AB41 #41C868 #415EC8 #C841A2
square
#C8AB41 #41C868 #415EC8 #C841A2
split-complementary
#C8AB41 #41A2C8 #6841C8
monochromatic
#6F5E20 #9E862E #C8AB41 #D6C070 #E3D5A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AB41#FFFFFF#000000##000000
##C8AB411.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)
#BCA834
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#D89E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab41;
/* rgb */ color: rgb(200, 171, 65);
/* oklch */ color: oklch(74.7% 0.127 93.7);
Tailwind
colors: {
  custom: {
    50: '#dcc37b',
    500: '#c8ab41',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab41;
$custom-light: #dcc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab41",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 47.111,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74729,
    "c": 0.12737,
    "h": 93.7
  },
  "luminance": 0.41787
}

Semantic roles & 50–950 ramp

primary
#C8AB41
secondary
#95A2D0
accent
#69DE49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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