#7FA832#7FA832

#7FA832 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.9% C 0.151 H 126.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7FA832
RGBrgb(127, 168, 50)
HSLhsl(81, 54%, 43%)
HSVhsv(81, 70%, 66%)
CMYKcmyk(24.4%, 0%, 70.2%, 34.1%)
CIE-LABlab(63.96, -31.57, 53.71)
CIE-LCHlch(63.96, 62.30, 120.45°)
OKLaboklab(67.85% -0.0905 0.121)
OKLCHoklch(67.85% 0.151 126.8)
XYZxyz(23.3308, 32.7472, 8.1086)
Luminance0.3275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA832 #5B32A8
analogous
#A89632 #7FA832 #44A832
triadic
#7FA832 #327FA8 #A8327F
tetradic
#7FA832 #32A896 #5B32A8 #A83244
square
#7FA832 #32A896 #5B32A8 #A83244
split-complementary
#7FA832 #3244A8 #9632A8
monochromatic
#384A16 #5B7924 #7FA832 #9FCA4D #B8D87C

Accessibility & contrast

On white

2.78
#7FA832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7FA832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA832
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA832#FFFFFF#000000##000000
##7FA8321.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1F
Deuteranopia (green-blind)
#AB9A3C
Tritanopia (blue-blind)
#84A091
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa832;
/* rgb */ color: rgb(127, 168, 50);
/* oklch */ color: oklch(67.9% 0.151 126.8);
Tailwind
colors: {
  custom: {
    50: '#a7c271',
    500: '#7fa832',
    950: '#000000',
  },
}
SCSS
$custom: #7fa832;
$custom-light: #a7c271;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa832",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 80.847,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67854,
    "c": 0.15113,
    "h": 126.8
  },
  "luminance": 0.32748
}

Semantic roles & 50–950 ramp

primary
#7FA832
secondary
#8F75C1
accent
#4ADD7D
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA832

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

Preview Lab → · Contrast checker → · Palette generator →

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