#C8CA39#C8CA39

#C8CA39 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.159 H 110.3°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C8CA39
RGBrgb(200, 202, 57)
HSLhsl(61, 58%, 51%)
HSVhsv(61, 72%, 79%)
CMYKcmyk(1%, 0%, 71.8%, 20.8%)
CIE-LABlab(78.94, -17.55, 67.67)
CIE-LCHlch(78.94, 69.91, 104.54°)
OKLaboklab(81.24% -0.0552 0.1496)
OKLCHoklch(81.24% 0.159 110.3)
XYZxyz(45.6801, 54.8171, 12.0446)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA39 #3B39CA
analogous
#CA8439 #C8CA39 #7FCA39
triadic
#C8CA39 #39C8CA #CA39C8
tetradic
#C8CA39 #39CA84 #3B39CA #CA397F
square
#C8CA39 #39CA84 #3B39CA #CA397F
split-complementary
#C8CA39 #397FCA #8439CA
monochromatic
#6B6C1D #9A9C2A #C8CA39 #D5D769 #E3E49A

Accessibility & contrast

On white

1.76
#C8CA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#C8CA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA39
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA39#FFFFFF#000000##000000
##C8CA391.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11D
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#D6BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8ca39;
/* rgb */ color: rgb(200, 202, 57);
/* oklch */ color: oklch(81.2% 0.159 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcd979',
    500: '#c8ca39',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca39;
$custom-light: #dcd979;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca39",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 60.828,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81238,
    "c": 0.15944,
    "h": 110.3
  },
  "luminance": 0.54816
}

Semantic roles & 50–950 ramp

primary
#C8CA39
secondary
#333275
accent
#47E149
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8CA39

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

Preview Lab → · Contrast checker → · Palette generator →

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