#C8F238#C8F238

#C8F238 is a very light, highly saturated yellow-green. Relative luminance 0.761; OKLCH L 90.0% C 0.203 H 122.1°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#C8F238
RGBrgb(200, 242, 56)
HSLhsl(74, 88%, 58%)
HSVhsv(74, 77%, 95%)
CMYKcmyk(17.4%, 0%, 76.9%, 5.1%)
CIE-LABlab(89.89, -36.55, 78.24)
CIE-LCHlch(89.89, 86.35, 115.04°)
OKLaboklab(90.04% -0.1078 0.1717)
OKLCHoklch(90.04% 0.203 122.1)
XYZxyz(56.2862, 76.0690, 15.4581)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F238 #6238F2
analogous
#F2BF38 #C8F238 #6BF238
triadic
#C8F238 #38C8F2 #F238C8
tetradic
#C8F238 #38F2BF #6238F2 #F2386B
square
#C8F238 #38F2BF #6238F2 #F2386B
split-complementary
#C8F238 #386BF2 #BF38F2
monochromatic
#82A50B #AFDE0F #C8F238 #D8F671 #E8FAAB

Accessibility & contrast

On white

1.30
#C8F238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#C8F238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F238
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F238#FFFFFF#000000##000000
##C8F2381.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE300
Deuteranopia (green-blind)
#FBE24B
Tritanopia (blue-blind)
#D3E5D0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c8f238;
/* rgb */ color: rgb(200, 242, 56);
/* oklch */ color: oklch(90.0% 0.203 122.1);
Tailwind
colors: {
  custom: {
    50: '#ddf67e',
    500: '#c8f238',
    950: '#000000',
  },
}
SCSS
$custom: #c8f238;
$custom-light: #ddf67e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f238",
  "rgb": {
    "r": 200,
    "g": 242,
    "b": 56
  },
  "hsl": {
    "h": 73.548,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.90043,
    "c": 0.20277,
    "h": 122.1
  },
  "luminance": 0.76069
}

Semantic roles & 50–950 ramp

primary
#C8F238
secondary
#4428A6
accent
#2AFE5A
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#16170B
muted
#84857E

Preview Lab

Preview with #C8F238

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

Preview Lab → · Contrast checker → · Palette generator →

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