#C8C82E#C8C82E

#C8C82E is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.163 H 109.6°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C8C82E
RGBrgb(200, 200, 46)
HSLhsl(60, 63%, 48%)
HSVhsv(60, 77%, 78%)
CMYKcmyk(0%, 0%, 77%, 21.6%)
CIE-LABlab(78.34, -17.02, 70.65)
CIE-LCHlch(78.34, 72.67, 103.54°)
OKLaboklab(80.74% -0.0547 0.1539)
OKLCHoklch(80.74% 0.163 109.6)
XYZxyz(44.9685, 53.7866, 10.5973)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C82E #2E2EC8
analogous
#C87B2E #C8C82E #7BC82E
triadic
#C8C82E #2EC8C8 #C82EC8
tetradic
#C8C82E #2EC87B #2E2EC8 #C82E7B
square
#C8C82E #2EC87B #2E2EC8 #C82E7B
split-complementary
#C8C82E #2E7BC8 #7B2EC8
monochromatic
#646417 #969623 #C8C82E #D9D95A #E5E58C

Accessibility & contrast

On white

1.79
#C8C82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#C8C82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C82E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C82E#FFFFFF#000000##000000
##C8C82E1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#DAC43B
Tritanopia (blue-blind)
#D6BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c82e;
/* rgb */ color: rgb(200, 200, 46);
/* oklch */ color: oklch(80.7% 0.163 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddd874',
    500: '#c8c82e',
    950: '#000000',
  },
}
SCSS
$custom: #c8c82e;
$custom-light: #ddd874;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c82e",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80742,
    "c": 0.16336,
    "h": 109.6
  },
  "luminance": 0.53785
}

Semantic roles & 50–950 ramp

primary
#C8C82E
secondary
#2B2B6F
accent
#42E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C82E

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

Preview Lab → · Contrast checker → · Palette generator →

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