#C8CA40#C8CA40

#C8CA40 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.155 H 110.2°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#C8CA40
RGBrgb(200, 202, 64)
HSLhsl(61, 57%, 52%)
HSVhsv(61, 68%, 79%)
CMYKcmyk(1%, 0%, 68.3%, 20.8%)
CIE-LABlab(78.98, -17.21, 65.20)
CIE-LCHlch(78.98, 67.44, 104.78°)
OKLaboklab(81.29% -0.0536 0.1455)
OKLCHoklch(81.29% 0.155 110.2)
XYZxyz(45.8669, 54.8918, 13.0285)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA40 #4240CA
analogous
#CA8740 #C8CA40 #83CA40
triadic
#C8CA40 #40C8CA #CA40C8
tetradic
#C8CA40 #40CA87 #4240CA #CA4083
square
#C8CA40 #40CA87 #4240CA #CA4083
split-complementary
#C8CA40 #4083CA #8740CA
monochromatic
#6F701F #9FA02C #C8CA40 #D6D770 #E4E5A0

Accessibility & contrast

On white

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

On black

11.98
#C8CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA40
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA40#FFFFFF#000000##000000
##C8CA401.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC12A
Deuteranopia (green-blind)
#DBC54A
Tritanopia (blue-blind)
#D6BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca40;
/* rgb */ color: rgb(200, 202, 64);
/* oklch */ color: oklch(81.3% 0.155 110.2);
Tailwind
colors: {
  custom: {
    50: '#dcd97d',
    500: '#c8ca40',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca40;
$custom-light: #dcd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca40",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 60.87,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81287,
    "c": 0.1551,
    "h": 110.2
  },
  "luminance": 0.54891
}

Semantic roles & 50–950 ramp

primary
#C8CA40
secondary
#36357A
accent
#48E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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