#C8CA54#C8CA54

#C8CA54 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.140 H 110.1°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#C8CA54
RGBrgb(200, 202, 84)
HSLhsl(61, 53%, 56%)
HSVhsv(61, 58%, 79%)
CMYKcmyk(1%, 0%, 58.4%, 20.8%)
CIE-LABlab(79.13, -15.96, 57.22)
CIE-LCHlch(79.13, 59.41, 105.59°)
OKLaboklab(81.46% -0.048 0.1316)
OKLCHoklch(81.46% 0.14 110.1)
XYZxyz(46.5415, 55.1617, 16.5814)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA54 #5654CA
analogous
#CA9154 #C8CA54 #8DCA54
triadic
#C8CA54 #54C8CA #CA54C8
tetradic
#C8CA54 #54CA91 #5654CA #CA548D
square
#C8CA54 #54CA91 #5654CA #CA548D
split-complementary
#C8CA54 #548DCA #9154CA
monochromatic
#7B7D27 #AAAC35 #C8CA54 #D7D883 #E6E7B1

Accessibility & contrast

On white

1.75
#C8CA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#C8CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA54
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA54#FFFFFF#000000##000000
##C8CA541.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C247
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#D5BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca54;
/* rgb */ color: rgb(200, 202, 84);
/* oklch */ color: oklch(81.5% 0.140 110.1);
Tailwind
colors: {
  custom: {
    50: '#dbd989',
    500: '#c8ca54',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca54;
$custom-light: #dbd989;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca54",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 61.017,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81461,
    "c": 0.14012,
    "h": 110.1
  },
  "luminance": 0.55161
}

Semantic roles & 50–950 ramp

primary
#C8CA54
secondary
#3F3D85
accent
#4CDC4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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