#C8A330#C8A330

#C8A330 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 73.0% C 0.134 H 90.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C8A330
RGBrgb(200, 163, 48)
HSLhsl(45, 61%, 49%)
HSVhsv(45, 76%, 78%)
CMYKcmyk(0%, 18.5%, 76%, 21.6%)
CIE-LABlab(68.53, 2.23, 60.96)
CIE-LCHlch(68.53, 61.00, 87.91°)
OKLaboklab(72.96% -0.0002 0.1336)
OKLCHoklch(72.96% 0.134 90.1)
XYZxyz(37.4523, 38.6895, 8.2909)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A330 #3055C8
analogous
#C85730 #C8A330 #A1C830
triadic
#C8A330 #30C8A3 #A330C8
tetradic
#C8A330 #30C857 #3055C8 #C830A1
square
#C8A330 #30C857 #3055C8 #C830A1
split-complementary
#C8A330 #30A1C8 #5730C8
monochromatic
#655318 #977B24 #C8A330 #D8BA5D #E4CF8E

Accessibility & contrast

On white

2.40
#C8A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C8A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A330
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A330#FFFFFF#000000##000000
##C8A3301.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#D9958D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c8a330;
/* rgb */ color: rgb(200, 163, 48);
/* oklch */ color: oklch(73.0% 0.134 90.1);
Tailwind
colors: {
  custom: {
    50: '#ddbd71',
    500: '#c8a330',
    950: '#000000',
  },
}
SCSS
$custom: #c8a330;
$custom-light: #ddbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a330",
  "rgb": {
    "r": 200,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 45.395,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72955,
    "c": 0.13363,
    "h": 90.1
  },
  "luminance": 0.38687
}

Semantic roles & 50–950 ramp

primary
#C8A330
secondary
#8597CE
accent
#6BE443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C8A330

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

Preview Lab → · Contrast checker → · Palette generator →

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