#C8E340#C8E340

#C8E340 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 86.8% C 0.182 H 118.7°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#C8E340
RGBrgb(200, 227, 64)
HSLhsl(70, 74%, 57%)
HSVhsv(70, 72%, 89%)
CMYKcmyk(11.9%, 0%, 71.8%, 11%)
CIE-LABlab(85.80, -29.29, 71.89)
CIE-LCHlch(85.80, 77.63, 112.17°)
OKLaboklab(86.76% -0.0872 0.1596)
OKLCHoklch(86.76% 0.182 118.7)
XYZxyz(52.2150, 67.5881, 15.1446)
Luminance0.6759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E340 #5B40E3
analogous
#E3AD40 #C8E340 #76E340
triadic
#C8E340 #40C8E3 #E340C8
tetradic
#C8E340 #40E3AD #5B40E3 #E34076
square
#C8E340 #40E3AD #5B40E3 #E34076
split-complementary
#C8E340 #4076E3 #AD40E3
monochromatic
#7E9316 #ACC81D #C8E340 #D7EB75 #E7F3AB

Accessibility & contrast

On white

1.45
#C8E340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#C8E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E340
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E340#FFFFFF#000000##000000
##C8E3401.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D620
Deuteranopia (green-blind)
#EFD74E
Tritanopia (blue-blind)
#D4D7C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c8e340;
/* rgb */ color: rgb(200, 227, 64);
/* oklch */ color: oklch(86.8% 0.182 118.7);
Tailwind
colors: {
  custom: {
    50: '#dceb80',
    500: '#c8e340',
    950: '#000000',
  },
}
SCSS
$custom: #c8e340;
$custom-light: #dceb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e340",
  "rgb": {
    "r": 200,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 69.939,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86757,
    "c": 0.18191,
    "h": 118.7
  },
  "luminance": 0.67588
}

Semantic roles & 50–950 ramp

primary
#C8E340
secondary
#413097
accent
#37F156
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C8E340

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

Preview Lab → · Contrast checker → · Palette generator →

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