#7FA533#7FA533

#7FA533 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.1% C 0.147 H 126.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7FA533
RGBrgb(127, 165, 51)
HSLhsl(80, 53%, 42%)
HSVhsv(80, 69%, 65%)
CMYKcmyk(23%, 0%, 69.1%, 35.3%)
CIE-LABlab(63.06, -30.09, 52.40)
CIE-LCHlch(63.06, 60.43, 119.86°)
OKLaboklab(67.13% -0.0863 0.1185)
OKLCHoklch(67.13% 0.147 126.1)
XYZxyz(22.8052, 31.6610, 8.0410)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA533 #5933A5
analogous
#A59233 #7FA533 #46A533
triadic
#7FA533 #337FA5 #A5337F
tetradic
#7FA533 #33A592 #5933A5 #A53346
square
#7FA533 #33A592 #5933A5 #A53346
split-complementary
#7FA533 #3346A5 #9233A5
monochromatic
#374816 #5B7625 #7FA533 #9FC84D #B8D67C

Accessibility & contrast

On white

2.86
#7FA533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7FA533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA533
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA533#FFFFFF#000000##000000
##7FA5331.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A22
Deuteranopia (green-blind)
#A9983C
Tritanopia (blue-blind)
#849D8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa533;
/* rgb */ color: rgb(127, 165, 51);
/* oklch */ color: oklch(67.1% 0.147 126.1);
Tailwind
colors: {
  custom: {
    50: '#a7c071',
    500: '#7fa533',
    950: '#000000',
  },
}
SCSS
$custom: #7fa533;
$custom-light: #a7c071;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa533",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 80,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67132,
    "c": 0.14658,
    "h": 126.1
  },
  "luminance": 0.31661
}

Semantic roles & 50–950 ramp

primary
#7FA533
secondary
#8D75BF
accent
#4CDC7C
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA533

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

Preview Lab → · Contrast checker → · Palette generator →

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