#C8A942#C8A942

#C8A942 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.3% C 0.125 H 92.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#C8A942
RGBrgb(200, 169, 66)
HSLhsl(46, 55%, 52%)
HSVhsv(46, 67%, 78%)
CMYKcmyk(0%, 15.5%, 67%, 21.6%)
CIE-LABlab(70.21, -0.08, 55.43)
CIE-LCHlch(70.21, 55.43, 90.08°)
OKLaboklab(74.33% -0.0048 0.1252)
OKLCHoklch(74.33% 0.125 92.2)
XYZxyz(38.9927, 41.0508, 11.0230)
Luminance0.4105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A942 #4261C8
analogous
#C86642 #C8A942 #A4C842
triadic
#C8A942 #42C8A9 #A942C8
tetradic
#C8A942 #42C866 #4261C8 #C842A4
square
#C8A942 #42C866 #4261C8 #C842A4
split-complementary
#C8A942 #42A4C8 #6642C8
monochromatic
#6F5D20 #9F852E #C8A942 #D6BF71 #E4D4A1

Accessibility & contrast

On white

2.28
#C8A942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#C8A942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A942
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A942#FFFFFF#000000##000000
##C8A9421.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA635
Deuteranopia (green-blind)
#C2AF47
Tritanopia (blue-blind)
#D89C93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8a942;
/* rgb */ color: rgb(200, 169, 66);
/* oklch */ color: oklch(74.3% 0.125 92.2);
Tailwind
colors: {
  custom: {
    50: '#dcc27b',
    500: '#c8a942',
    950: '#000000',
  },
}
SCSS
$custom: #c8a942;
$custom-light: #dcc27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a942",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 66
  },
  "hsl": {
    "h": 46.119,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74326,
    "c": 0.12532,
    "h": 92.2
  },
  "luminance": 0.41049
}

Semantic roles & 50–950 ramp

primary
#C8A942
secondary
#96A3D0
accent
#6CDE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8A942

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

Preview Lab → · Contrast checker → · Palette generator →

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