#C8A83E#C8A83E

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

Color values

HEX#C8A83E
RGBrgb(200, 168, 62)
HSLhsl(46, 56%, 51%)
HSVhsv(46, 69%, 78%)
CMYKcmyk(0%, 16%, 69%, 21.6%)
CIE-LABlab(69.92, 0.23, 56.83)
CIE-LCHlch(69.92, 56.83, 89.77°)
OKLaboklab(74.09% -0.0044 0.1275)
OKLCHoklch(74.09% 0.128 92)
XYZxyz(38.6936, 40.6346, 10.3617)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A83E #3E5EC8
analogous
#C8633E #C8A83E #A3C83E
triadic
#C8A83E #3EC8A8 #A83EC8
tetradic
#C8A83E #3EC863 #3E5EC8 #C83EA3
square
#C8A83E #3EC863 #3E5EC8 #C83EA3
split-complementary
#C8A83E #3EA3C8 #633EC8
monochromatic
#6D5B1F #9C822D #C8A83E #D6BD6E #E3D39D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8A83E#FFFFFF#000000##000000
##C8A83E1.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)
#BAA630
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#D89B92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a83e;
/* rgb */ color: rgb(200, 168, 62);
/* oklch */ color: oklch(74.1% 0.128 92.0);
Tailwind
colors: {
  custom: {
    50: '#dcc179',
    500: '#c8a83e',
    950: '#000000',
  },
}
SCSS
$custom: #c8a83e;
$custom-light: #dcc179;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a83e",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 62
  },
  "hsl": {
    "h": 46.087,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74085,
    "c": 0.12758,
    "h": 92
  },
  "luminance": 0.40632
}

Semantic roles & 50–950 ramp

primary
#C8A83E
secondary
#92A1CF
accent
#6CDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A83E

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

Preview Lab → · Contrast checker → · Palette generator →

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