#7FA935#7FA935

#7FA935 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.1% C 0.150 H 127.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7FA935
RGBrgb(127, 169, 53)
HSLhsl(82, 52%, 44%)
HSVhsv(82, 69%, 66%)
CMYKcmyk(24.9%, 0%, 68.6%, 33.7%)
CIE-LABlab(64.28, -31.84, 52.86)
CIE-LCHlch(64.28, 61.70, 121.06°)
OKLaboklab(68.12% -0.091 0.1197)
OKLCHoklch(68.12% 0.15 127.2)
XYZxyz(23.5830, 33.1446, 8.5225)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA935 #5F35A9
analogous
#A99935 #7FA935 #45A935
triadic
#7FA935 #357FA9 #A9357F
tetradic
#7FA935 #35A999 #5F35A9 #A93545
square
#7FA935 #35A999 #5F35A9 #A93545
split-complementary
#7FA935 #3545A9 #9935A9
monochromatic
#394C18 #5C7A26 #7FA935 #9EC952 #B8D781

Accessibility & contrast

On white

2.75
#7FA935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7FA935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA935
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA935#FFFFFF#000000##000000
##7FA9351.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E24
Deuteranopia (green-blind)
#AC9B3F
Tritanopia (blue-blind)
#84A192
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa935;
/* rgb */ color: rgb(127, 169, 53);
/* oklch */ color: oklch(68.1% 0.150 127.2);
Tailwind
colors: {
  custom: {
    50: '#a7c273',
    500: '#7fa935',
    950: '#000000',
  },
}
SCSS
$custom: #7fa935;
$custom-light: #a7c273;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa935",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 81.724,
    "s": 52.252,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68122,
    "c": 0.15034,
    "h": 127.2
  },
  "luminance": 0.33145
}

Semantic roles & 50–950 ramp

primary
#7FA935
secondary
#9379C1
accent
#4CDC80
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA935

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

Preview Lab → · Contrast checker → · Palette generator →

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