#7FA332#7FA332

#7FA332 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.145 H 125.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7FA332
RGBrgb(127, 163, 50)
HSLhsl(79, 53%, 42%)
HSVhsv(79, 69%, 64%)
CMYKcmyk(22.1%, 0%, 69.3%, 36.1%)
CIE-LABlab(62.45, -29.20, 52.18)
CIE-LCHlch(62.45, 59.79, 119.23°)
OKLaboklab(66.64% -0.084 0.1178)
OKLCHoklch(66.64% 0.145 125.5)
XYZxyz(22.4254, 30.9364, 7.8069)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA332 #5632A3
analogous
#A38F32 #7FA332 #47A332
triadic
#7FA332 #327FA3 #A3327F
tetradic
#7FA332 #32A38F #5632A3 #A33247
square
#7FA332 #32A38F #5632A3 #A33247
split-complementary
#7FA332 #3247A3 #8F32A3
monochromatic
#364515 #5B7424 #7FA332 #A0C84B #B9D679

Accessibility & contrast

On white

2.92
#7FA332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7FA332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA332
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA332#FFFFFF#000000##000000
##7FA3321.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9821
Deuteranopia (green-blind)
#A7973B
Tritanopia (blue-blind)
#859B8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa332;
/* rgb */ color: rgb(127, 163, 50);
/* oklch */ color: oklch(66.6% 0.145 125.5);
Tailwind
colors: {
  custom: {
    50: '#a7be71',
    500: '#7fa332',
    950: '#000000',
  },
}
SCSS
$custom: #7fa332;
$custom-light: #a7be71;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa332",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 79.115,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66638,
    "c": 0.1447,
    "h": 125.5
  },
  "luminance": 0.30937
}

Semantic roles & 50–950 ramp

primary
#7FA332
secondary
#8B72BF
accent
#4BDC7A
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA332

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

Preview Lab → · Contrast checker → · Palette generator →

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