#7FB462#7FB462

#7FB462 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.3% C 0.125 H 135.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7FB462
RGBrgb(127, 180, 98)
HSLhsl(99, 35%, 55%)
HSVhsv(99, 46%, 71%)
CMYKcmyk(29.4%, 0%, 45.6%, 29.4%)
CIE-LABlab(68.05, -32.46, 36.26)
CIE-LCHlch(68.05, 48.67, 131.84°)
OKLaboklab(71.33% -0.0892 0.0881)
OKLCHoklch(71.33% 0.125 135.4)
XYZxyz(27.2776, 38.0354, 17.4573)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB462 #9762B4
analogous
#A8B462 #7FB462 #62B46E
triadic
#7FB462 #627FB4 #B4627F
tetradic
#7FB462 #62A8B4 #9762B4 #B46E62
square
#7FB462 #62A8B4 #9762B4 #B46E62
split-complementary
#7FB462 #6E62B4 #B462A8
monochromatic
#466932 #619346 #7FB462 #A1C88B #C3DCB5

Accessibility & contrast

On white

2.44
#7FB462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#7FB462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB462
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB462#FFFFFF#000000##000000
##7FB4621.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A95B
Deuteranopia (green-blind)
#B2A467
Tritanopia (blue-blind)
#7EAFA0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7fb462;
/* rgb */ color: rgb(127, 180, 98);
/* oklch */ color: oklch(71.3% 0.125 135.4);
Tailwind
colors: {
  custom: {
    50: '#a6ca90',
    500: '#7fb462',
    950: '#000000',
  },
}
SCSS
$custom: #7fb462;
$custom-light: #a6ca90;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb462",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 98.78,
    "s": 35.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.71331,
    "c": 0.12536,
    "h": 135.4
  },
  "luminance": 0.38036
}

Semantic roles & 50–950 ramp

primary
#7FB462
secondary
#BEA8CA
accent
#5CCBA4
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #7FB462

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

Preview Lab → · Contrast checker → · Palette generator →

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