#7FCB51#7FCB51

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

Color values

HEX#7FCB51
RGBrgb(127, 203, 81)
HSLhsl(97, 54%, 56%)
HSVhsv(97, 60%, 80%)
CMYKcmyk(37.4%, 0%, 60.1%, 20.4%)
CIE-LABlab(74.71, -44.63, 52.31)
CIE-LCHlch(74.71, 68.76, 130.47°)
OKLaboklab(76.69% -0.1238 0.122)
OKLCHoklch(76.69% 0.174 135.4)
XYZxyz(31.5928, 47.8165, 15.3479)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FCB51 #9D51CB
analogous
#BCCB51 #7FCB51 #51CB60
triadic
#7FCB51 #517FCB #CB517F
tetradic
#7FCB51 #51BCCB #9D51CB #CB6051
square
#7FCB51 #51BCCB #9D51CB #CB6051
split-complementary
#7FCB51 #6051CB #CB51BC
monochromatic
#467C25 #61AC33 #7FCB51 #A2D980 #C4E7AF

Accessibility & contrast

On white

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

On black

10.56
#7FCB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FCB51
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FCB51#FFFFFF#000000##000000
##7FCB511.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fcb51;
/* rgb */ color: rgb(127, 203, 81);
/* oklch */ color: oklch(76.7% 0.174 135.4);
Tailwind
colors: {
  custom: {
    50: '#a9db86',
    500: '#7fcb51',
    950: '#000000',
  },
}
SCSS
$custom: #7fcb51;
$custom-light: #a9db86;
$custom-dark: #000000;
JSON
{
  "hex": "#7fcb51",
  "rgb": {
    "r": 127,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 97.377,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76685,
    "c": 0.17375,
    "h": 135.4
  },
  "luminance": 0.47818
}

Semantic roles & 50–950 ramp

primary
#7FCB51
secondary
#C2A3D5
accent
#4ADDA6
background
#FAFDF8
surface
#F4FBF0
border
#CED4CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7FCB51

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

Preview Lab → · Contrast checker → · Palette generator →

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