#C8C833#C8C833

#C8C833 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.8% C 0.161 H 109.5°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C8C833
RGBrgb(200, 200, 51)
HSLhsl(60, 59%, 49%)
HSVhsv(60, 75%, 78%)
CMYKcmyk(0%, 0%, 74.5%, 21.6%)
CIE-LABlab(78.36, -16.82, 69.13)
CIE-LCHlch(78.36, 71.15, 103.68°)
OKLaboklab(80.77% -0.0537 0.1516)
OKLCHoklch(80.77% 0.161 109.5)
XYZxyz(45.0729, 53.8283, 11.1469)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C833 #3333C8
analogous
#C87E33 #C8C833 #7EC833
triadic
#C8C833 #33C8C8 #C833C8
tetradic
#C8C833 #33C87E #3333C8 #C8337E
square
#C8C833 #33C87E #3333C8 #C8337E
split-complementary
#C8C833 #337EC8 #7E33C8
monochromatic
#66661A #979727 #C8C833 #D7D761 #E3E392

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C833#FFFFFF#000000##000000
##C8C8331.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)
#D8BF0F
Deuteranopia (green-blind)
#DAC43F
Tritanopia (blue-blind)
#D6BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c833;
/* rgb */ color: rgb(200, 200, 51);
/* oklch */ color: oklch(80.8% 0.161 109.5);
Tailwind
colors: {
  custom: {
    50: '#ddd876',
    500: '#c8c833',
    950: '#000000',
  },
}
SCSS
$custom: #c8c833;
$custom-light: #ddd876;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c833",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80769,
    "c": 0.16083,
    "h": 109.5
  },
  "luminance": 0.53827
}

Semantic roles & 50–950 ramp

primary
#C8C833
secondary
#2F2F71
accent
#45E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C833

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

Preview Lab → · Contrast checker → · Palette generator →

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