#C8A22E#C8A22E

#C8A22E is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.7% C 0.134 H 89.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#C8A22E
RGBrgb(200, 162, 46)
HSLhsl(45, 63%, 48%)
HSVhsv(45, 77%, 78%)
CMYKcmyk(0%, 19%, 77%, 21.6%)
CIE-LABlab(68.26, 2.68, 61.43)
CIE-LCHlch(68.26, 61.49, 87.50°)
OKLaboklab(72.74% 0.0009 0.1342)
OKLCHoklch(72.74% 0.134 89.6)
XYZxyz(37.2351, 38.3197, 8.0195)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A22E #2E54C8
analogous
#C8552E #C8A22E #A1C82E
triadic
#C8A22E #2EC8A2 #A22EC8
tetradic
#C8A22E #2EC855 #2E54C8 #C82EA1
square
#C8A22E #2EC855 #2E54C8 #C82EA1
split-complementary
#C8A22E #2EA1C8 #552EC8
monochromatic
#645117 #967A23 #C8A22E #D9BA5A #E5CF8C

Accessibility & contrast

On white

2.42
#C8A22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#C8A22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A22E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A22E#FFFFFF#000000##000000
##C8A22E1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#D9948C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c8a22e;
/* rgb */ color: rgb(200, 162, 46);
/* oklch */ color: oklch(72.7% 0.134 89.6);
Tailwind
colors: {
  custom: {
    50: '#ddbd70',
    500: '#c8a22e',
    950: '#000000',
  },
}
SCSS
$custom: #c8a22e;
$custom-light: #ddbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a22e",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 45.195,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72739,
    "c": 0.13422,
    "h": 89.6
  },
  "luminance": 0.38317
}

Semantic roles & 50–950 ramp

primary
#C8A22E
secondary
#8396CF
accent
#6AE642
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C8A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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