#C8C82F#C8C82F

#C8C82F 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#C8C82F
RGBrgb(200, 200, 47)
HSLhsl(60, 62%, 48%)
HSVhsv(60, 77%, 78%)
CMYKcmyk(0%, 0%, 76.5%, 21.6%)
CIE-LABlab(78.34, -16.98, 70.36)
CIE-LCHlch(78.34, 72.38, 103.57°)
OKLaboklab(80.75% -0.0545 0.1535)
OKLCHoklch(80.75% 0.163 109.6)
XYZxyz(44.9885, 53.7945, 10.7023)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C82F #2F2FC8
analogous
#C87B2F #C8C82F #7BC82F
triadic
#C8C82F #2FC8C8 #C82FC8
tetradic
#C8C82F #2FC87B #2F2FC8 #C82F7B
square
#C8C82F #2FC87B #2F2FC8 #C82F7B
split-complementary
#C8C82F #2F7BC8 #7B2FC8
monochromatic
#656518 #969623 #C8C82F #D9D95C #E4E48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C82F#FFFFFF#000000##000000
##C8C82F1.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)
#D8BF00
Deuteranopia (green-blind)
#DAC43C
Tritanopia (blue-blind)
#D6BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c82f;
/* rgb */ color: rgb(200, 200, 47);
/* oklch */ color: oklch(80.7% 0.163 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddd875',
    500: '#c8c82f',
    950: '#000000',
  },
}
SCSS
$custom: #c8c82f;
$custom-light: #ddd875;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c82f",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80747,
    "c": 0.16287,
    "h": 109.6
  },
  "luminance": 0.53793
}

Semantic roles & 50–950 ramp

primary
#C8C82F
secondary
#2C2C6F
accent
#43E543
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C82F

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

Preview Lab → · Contrast checker → · Palette generator →

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