#C7F238#C7F238

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

Color values

HEX#C7F238
RGBrgb(199, 242, 56)
HSLhsl(74, 88%, 58%)
HSVhsv(74, 77%, 95%)
CMYKcmyk(17.8%, 0%, 76.9%, 5.1%)
CIE-LABlab(89.83, -36.94, 78.15)
CIE-LCHlch(89.83, 86.44, 115.30°)
OKLaboklab(89.98% -0.1088 0.1716)
OKLCHoklch(89.98% 0.203 122.4)
XYZxyz(56.0200, 75.9317, 15.4456)
Luminance0.7593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F238 #6338F2
analogous
#F2C038 #C7F238 #6AF238
triadic
#C7F238 #38C7F2 #F238C7
tetradic
#C7F238 #38F2C0 #6338F2 #F2386A
square
#C7F238 #38F2C0 #6338F2 #F2386A
split-complementary
#C7F238 #386AF2 #C038F2
monochromatic
#81A50B #AEDE0F #C7F238 #D7F671 #E7FAAB

Accessibility & contrast

On white

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

On black

16.19
#C7F238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F238
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F238#FFFFFF#000000##000000
##C7F2381.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7f238;
/* rgb */ color: rgb(199, 242, 56);
/* oklch */ color: oklch(90.0% 0.203 122.4);
Tailwind
colors: {
  custom: {
    50: '#dcf67d',
    500: '#c7f238',
    950: '#000000',
  },
}
SCSS
$custom: #c7f238;
$custom-light: #dcf67d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f238",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 56
  },
  "hsl": {
    "h": 73.871,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.89975,
    "c": 0.20318,
    "h": 122.4
  },
  "luminance": 0.75932
}

Semantic roles & 50–950 ramp

primary
#C7F238
secondary
#4528A6
accent
#2AFE5B
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#16170B
muted
#84857E

Preview Lab

Preview with #C7F238

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

Preview Lab → · Contrast checker → · Palette generator →

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