#C8A841#C8A841

#C8A841 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.1% C 0.125 H 91.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C8A841
RGBrgb(200, 168, 65)
HSLhsl(46, 55%, 52%)
HSVhsv(46, 68%, 78%)
CMYKcmyk(0%, 16%, 67.5%, 21.6%)
CIE-LABlab(69.94, 0.40, 55.58)
CIE-LCHlch(69.94, 55.58, 89.59°)
OKLaboklab(74.11% -0.0035 0.1254)
OKLCHoklch(74.11% 0.125 91.6)
XYZxyz(38.7782, 40.6685, 10.8073)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A841 #4161C8
analogous
#C86541 #C8A841 #A4C841
triadic
#C8A841 #41C8A8 #A841C8
tetradic
#C8A841 #41C865 #4161C8 #C841A4
square
#C8A841 #41C865 #4161C8 #C841A4
split-complementary
#C8A841 #41A4C8 #6541C8
monochromatic
#6F5C20 #9E832E #C8A841 #D6BE70 #E3D3A0

Accessibility & contrast

On white

2.30
#C8A841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C8A841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A841
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A841#FFFFFF#000000##000000
##C8A8411.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#D89B92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a841;
/* rgb */ color: rgb(200, 168, 65);
/* oklch */ color: oklch(74.1% 0.125 91.6);
Tailwind
colors: {
  custom: {
    50: '#dcc17b',
    500: '#c8a841',
    950: '#000000',
  },
}
SCSS
$custom: #c8a841;
$custom-light: #dcc17b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a841",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 65
  },
  "hsl": {
    "h": 45.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74112,
    "c": 0.12543,
    "h": 91.6
  },
  "luminance": 0.40666
}

Semantic roles & 50–950 ramp

primary
#C8A841
secondary
#95A3D0
accent
#6DDE49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8A841

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

Preview Lab → · Contrast checker → · Palette generator →

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