#C8C75A#C8C75A

#C8C75A is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.132 H 108.5°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C8C75A
RGBrgb(200, 199, 90)
HSLhsl(59, 50%, 57%)
HSVhsv(59, 55%, 78%)
CMYKcmyk(0%, 0.5%, 55%, 21.6%)
CIE-LABlab(78.38, -14.01, 53.70)
CIE-LCHlch(78.38, 55.50, 104.62°)
OKLaboklab(80.88% -0.0418 0.1248)
OKLCHoklch(80.88% 0.132 108.5)
XYZxyz(46.0896, 53.8656, 17.6401)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C75A #5A5BC8
analogous
#C8905A #C8C75A #92C85A
triadic
#C8C75A #5AC8C7 #C75AC8
tetradic
#C8C75A #5AC890 #5A5BC8 #C85A92
square
#C8C75A #5AC890 #5A5BC8 #C85A92
split-complementary
#C8C75A #5A92C8 #905AC8
monochromatic
#7E7D2A #ACAB39 #C8C75A #D7D788 #E7E6B6

Accessibility & contrast

On white

1.78
#C8C75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#C8C75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C75A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C75A#FFFFFF#000000##000000
##C8C75A1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04F
Deuteranopia (green-blind)
#D7C460
Tritanopia (blue-blind)
#D5BCAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c75a;
/* rgb */ color: rgb(200, 199, 90);
/* oklch */ color: oklch(80.9% 0.132 108.5);
Tailwind
colors: {
  custom: {
    50: '#dbd78c',
    500: '#c8c75a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c75a;
$custom-light: #dbd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c75a",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 59.455,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8088,
    "c": 0.13166,
    "h": 108.5
  },
  "luminance": 0.53864
}

Semantic roles & 50–950 ramp

primary
#C8C75A
secondary
#404186
accent
#50DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C75A

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

Preview Lab → · Contrast checker → · Palette generator →

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