#C8A83C#C8A83C

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

Color values

HEX#C8A83C
RGBrgb(200, 168, 60)
HSLhsl(46, 56%, 51%)
HSVhsv(46, 70%, 78%)
CMYKcmyk(0%, 16%, 70%, 21.6%)
CIE-LABlab(69.90, 0.12, 57.64)
CIE-LCHlch(69.90, 57.64, 89.88°)
OKLaboklab(74.07% -0.0049 0.1289)
OKLCHoklch(74.07% 0.129 92.2)
XYZxyz(38.6397, 40.6131, 10.0780)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A83C #3C5CC8
analogous
#C8623C #C8A83C #A2C83C
triadic
#C8A83C #3CC8A8 #A83CC8
tetradic
#C8A83C #3CC862 #3C5CC8 #C83CA2
square
#C8A83C #3CC862 #3C5CC8 #C83CA2
split-complementary
#C8A83C #3CA2C8 #623CC8
monochromatic
#6B5A1E #9B822C #C8A83C #D5BD6C #E3D39B

Accessibility & contrast

On white

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

On black

9.12
#C8A83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A83C
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A83C#FFFFFF#000000##000000
##C8A83C1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a83c;
/* rgb */ color: rgb(200, 168, 60);
/* oklch */ color: oklch(74.1% 0.129 92.2);
Tailwind
colors: {
  custom: {
    50: '#ddc178',
    500: '#c8a83c',
    950: '#000000',
  },
}
SCSS
$custom: #c8a83c;
$custom-light: #ddc178;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a83c",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 60
  },
  "hsl": {
    "h": 46.286,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74068,
    "c": 0.12898,
    "h": 92.2
  },
  "luminance": 0.40611
}

Semantic roles & 50–950 ramp

primary
#C8A83C
secondary
#919FCF
accent
#6BDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A83C

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

Preview Lab → · Contrast checker → · Palette generator →

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