#C8C775#C8C775

#C8C775 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.104 H 107.9°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C8C775
RGBrgb(200, 199, 117)
HSLhsl(59, 43%, 62%)
HSVhsv(59, 42%, 78%)
CMYKcmyk(0%, 0.5%, 41.5%, 21.6%)
CIE-LABlab(78.70, -11.54, 41.09)
CIE-LCHlch(78.70, 42.68, 105.68°)
OKLaboklab(81.24% -0.0321 0.0994)
OKLCHoklch(81.24% 0.105 107.9)
XYZxyz(47.4545, 54.4116, 24.8288)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C775 #7576C8
analogous
#C89E75 #C8C775 #A0C875
triadic
#C8C775 #75C8C7 #C775C8
tetradic
#C8C775 #75C89E #7576C8 #C875A0
square
#C8C775 #75C89E #7576C8 #C875A0
split-complementary
#C8C775 #75A0C8 #9E75C8
monochromatic
#8B8A37 #B7B549 #C8C775 #D9D9A1 #EBEBCD

Accessibility & contrast

On white

1.77
#C8C775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#C8C775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C775
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C775#FFFFFF#000000##000000
##C8C7751.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16E
Deuteranopia (green-blind)
#D5C479
Tritanopia (blue-blind)
#D3BEB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8c775;
/* rgb */ color: rgb(200, 199, 117);
/* oklch */ color: oklch(81.2% 0.104 107.9);
Tailwind
colors: {
  custom: {
    50: '#dad79e',
    500: '#c8c775',
    950: '#000000',
  },
}
SCSS
$custom: #c8c775;
$custom-light: #dad79e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c775",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 117
  },
  "hsl": {
    "h": 59.277,
    "s": 43.005,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81236,
    "c": 0.1045,
    "h": 107.9
  },
  "luminance": 0.54411
}

Semantic roles & 50–950 ramp

primary
#C8C775
secondary
#4F5092
accent
#31B62F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8C775

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

Preview Lab → · Contrast checker → · Palette generator →

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