#C8C75D#C8C75D

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

Color values

HEX#C8C75D
RGBrgb(200, 199, 93)
HSLhsl(59, 49%, 57%)
HSVhsv(59, 54%, 78%)
CMYKcmyk(0%, 0.5%, 53.5%, 21.6%)
CIE-LABlab(78.41, -13.77, 52.36)
CIE-LCHlch(78.41, 54.14, 104.73°)
OKLaboklab(80.91% -0.0408 0.1223)
OKLCHoklch(80.91% 0.129 108.5)
XYZxyz(46.2198, 53.9177, 18.3262)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C75D #5D5EC8
analogous
#C8915D #C8C75D #94C85D
triadic
#C8C75D #5DC8C7 #C75DC8
tetradic
#C8C75D #5DC891 #5D5EC8 #C85D94
square
#C8C75D #5DC891 #5D5EC8 #C85D94
split-complementary
#C8C75D #5D94C8 #915DC8
monochromatic
#7F7F2B #ADAC3B #C8C75D #D8D78B #E7E7B8

Accessibility & contrast

On white

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

On black

11.78
#C8C75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C75D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C75D#FFFFFF#000000##000000
##C8C75D1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C052
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#D4BCAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c75d;
/* rgb */ color: rgb(200, 199, 93);
/* oklch */ color: oklch(80.9% 0.129 108.5);
Tailwind
colors: {
  custom: {
    50: '#dbd78e',
    500: '#c8c75d',
    950: '#000000',
  },
}
SCSS
$custom: #c8c75d;
$custom-light: #dbd78e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c75d",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 59.439,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80914,
    "c": 0.12891,
    "h": 108.5
  },
  "luminance": 0.53917
}

Semantic roles & 50–950 ramp

primary
#C8C75D
secondary
#424387
accent
#50D94F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C75D

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

Preview Lab → · Contrast checker → · Palette generator →

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