#7FA535#7FA535

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

Color values

HEX#7FA535
RGBrgb(127, 165, 53)
HSLhsl(80, 51%, 43%)
HSVhsv(80, 68%, 65%)
CMYKcmyk(23%, 0%, 67.9%, 35.3%)
CIE-LABlab(63.08, -29.95, 51.61)
CIE-LCHlch(63.08, 59.67, 120.12°)
OKLaboklab(67.15% -0.0858 0.1171)
OKLCHoklch(67.15% 0.145 126.2)
XYZxyz(22.8502, 31.6790, 8.2783)
Luminance0.3168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA535 #5B35A5
analogous
#A59335 #7FA535 #47A535
triadic
#7FA535 #357FA5 #A5357F
tetradic
#7FA535 #35A593 #5B35A5 #A53547
square
#7FA535 #35A593 #5B35A5 #A53547
split-complementary
#7FA535 #3547A5 #9335A5
monochromatic
#384817 #5B7726 #7FA535 #9FC750 #B8D67F

Accessibility & contrast

On white

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

On black

7.34
#7FA535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA535
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA535#FFFFFF#000000##000000
##7FA5351.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa535;
/* rgb */ color: rgb(127, 165, 53);
/* oklch */ color: oklch(67.1% 0.145 126.2);
Tailwind
colors: {
  custom: {
    50: '#a7c072',
    500: '#7fa535',
    950: '#000000',
  },
}
SCSS
$custom: #7fa535;
$custom-light: #a7c072;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa535",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 80.357,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67149,
    "c": 0.14514,
    "h": 126.2
  },
  "luminance": 0.31679
}

Semantic roles & 50–950 ramp

primary
#7FA535
secondary
#8F77BF
accent
#4DDB7D
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA535

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

Preview Lab → · Contrast checker → · Palette generator →

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