#7FCB52#7FCB52

#7FCB52 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 76.7% C 0.173 H 135.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#7FCB52
RGBrgb(127, 203, 82)
HSLhsl(98, 54%, 56%)
HSVhsv(98, 60%, 80%)
CMYKcmyk(37.4%, 0%, 59.6%, 20.4%)
CIE-LABlab(74.72, -44.54, 51.88)
CIE-LCHlch(74.72, 68.37, 130.65°)
OKLaboklab(76.7% -0.1234 0.1211)
OKLCHoklch(76.7% 0.173 135.5)
XYZxyz(31.6306, 47.8316, 15.5468)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCB52 #9E52CB
analogous
#BBCB52 #7FCB52 #52CB61
triadic
#7FCB52 #527FCB #CB527F
tetradic
#7FCB52 #52BBCB #9E52CB #CB6152
square
#7FCB52 #52BBCB #9E52CB #CB6152
split-complementary
#7FCB52 #6152CB #CB52BB
monochromatic
#467D26 #60AC34 #7FCB52 #A2D981 #C5E7B0

Accessibility & contrast

On white

1.99
#7FCB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#7FCB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCB52
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCB52#FFFFFF#000000##000000
##7FCB521.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#C7B65B
Tritanopia (blue-blind)
#7DC4B1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7fcb52;
/* rgb */ color: rgb(127, 203, 82);
/* oklch */ color: oklch(76.7% 0.173 135.5);
Tailwind
colors: {
  custom: {
    50: '#a9db87',
    500: '#7fcb52',
    950: '#000000',
  },
}
SCSS
$custom: #7fcb52;
$custom-light: #a9db87;
$custom-dark: #000000;
JSON
{
  "hex": "#7fcb52",
  "rgb": {
    "r": 127,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 97.686,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76696,
    "c": 0.17294,
    "h": 135.5
  },
  "luminance": 0.47833
}

Semantic roles & 50–950 ramp

primary
#7FCB52
secondary
#C3A3D5
accent
#4BDDA7
background
#FAFDF8
surface
#F4FBF0
border
#CED4CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7FCB52

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

Preview Lab → · Contrast checker → · Palette generator →

#7FCB52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva