#7FB431#7FB431

#7FB431 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.8% C 0.167 H 129.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7FB431
RGBrgb(127, 180, 49)
HSLhsl(84, 57%, 45%)
HSVhsv(84, 73%, 71%)
CMYKcmyk(29.4%, 0%, 72.8%, 29.4%)
CIE-LABlab(67.56, -37.14, 57.70)
CIE-LCHlch(67.56, 68.62, 122.77°)
OKLaboklab(70.78% -0.1058 0.1292)
OKLCHoklch(70.78% 0.167 129.3)
XYZxyz(25.6279, 37.3756, 8.7691)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB431 #6631B4
analogous
#B4A831 #7FB431 #3DB431
triadic
#7FB431 #317FB4 #B4317F
tetradic
#7FB431 #31B4A8 #6631B4 #B4313D
square
#7FB431 #31B4A8 #6631B4 #B4313D
split-complementary
#7FB431 #313DB4 #A831B4
monochromatic
#3B5417 #5D8424 #7FB431 #9DD052 #B8DD82

Accessibility & contrast

On white

2.48
#7FB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#7FB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB431
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB431#FFFFFF#000000##000000
##7FB4311.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#83AC9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb431;
/* rgb */ color: rgb(127, 180, 49);
/* oklch */ color: oklch(70.8% 0.167 129.3);
Tailwind
colors: {
  custom: {
    50: '#a8ca72',
    500: '#7fb431',
    950: '#000000',
  },
}
SCSS
$custom: #7fb431;
$custom-light: #a8ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb431",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 84.275,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70777,
    "c": 0.16703,
    "h": 129.3
  },
  "luminance": 0.37376
}

Semantic roles & 50–950 ramp

primary
#7FB431
secondary
#997BC6
accent
#47E085
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB431

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

Preview Lab → · Contrast checker → · Palette generator →

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