#7FA534#7FA534

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

Color values

HEX#7FA534
RGBrgb(127, 165, 52)
HSLhsl(80, 52%, 43%)
HSVhsv(80, 68%, 65%)
CMYKcmyk(23%, 0%, 68.5%, 35.3%)
CIE-LABlab(63.07, -30.02, 52.01)
CIE-LCHlch(63.07, 60.05, 119.99°)
OKLaboklab(67.14% -0.0861 0.1178)
OKLCHoklch(67.14% 0.146 126.2)
XYZxyz(22.8274, 31.6699, 8.1584)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA534 #5A34A5
analogous
#A59334 #7FA534 #46A534
triadic
#7FA534 #347FA5 #A5347F
tetradic
#7FA534 #34A593 #5A34A5 #A53446
square
#7FA534 #34A593 #5A34A5 #A53446
split-complementary
#7FA534 #3446A5 #9334A5
monochromatic
#374817 #5B7625 #7FA534 #9FC74F #B8D67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA534#FFFFFF#000000##000000
##7FA5341.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)
#AE9A23
Deuteranopia (green-blind)
#A8983D
Tritanopia (blue-blind)
#849D8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa534;
/* rgb */ color: rgb(127, 165, 52);
/* oklch */ color: oklch(67.1% 0.146 126.2);
Tailwind
colors: {
  custom: {
    50: '#a7c072',
    500: '#7fa534',
    950: '#000000',
  },
}
SCSS
$custom: #7fa534;
$custom-light: #a7c072;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa534",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 80.177,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67141,
    "c": 0.14586,
    "h": 126.2
  },
  "luminance": 0.3167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA534

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

Preview Lab → · Contrast checker → · Palette generator →

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