#7FAF30#7FAF30

#7FAF30 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.5% C 0.161 H 128.2°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7FAF30
RGBrgb(127, 175, 48)
HSLhsl(83, 57%, 44%)
HSVhsv(83, 73%, 69%)
CMYKcmyk(27.4%, 0%, 72.6%, 31.4%)
CIE-LABlab(66.05, -34.94, 56.56)
CIE-LCHlch(66.05, 66.48, 121.71°)
OKLaboklab(69.55% -0.0999 0.1267)
OKLCHoklch(69.55% 0.161 128.2)
XYZxyz(24.6159, 35.3848, 8.3288)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF30 #6030AF
analogous
#AF9F30 #7FAF30 #3FAF30
triadic
#7FAF30 #307FAF #AF307F
tetradic
#7FAF30 #30AF9F #6030AF #AF303F
square
#7FAF30 #30AF9F #6030AF #AF303F
split-complementary
#7FAF30 #303FAF #9F30AF
monochromatic
#394F16 #5C7F23 #7FAF30 #9ECE4E #B8DC7E

Accessibility & contrast

On white

2.60
#7FAF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#7FAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF30
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF30#FFFFFF#000000##000000
##7FAF301.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A319
Deuteranopia (green-blind)
#B1A03C
Tritanopia (blue-blind)
#83A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf30;
/* rgb */ color: rgb(127, 175, 48);
/* oklch */ color: oklch(69.5% 0.161 128.2);
Tailwind
colors: {
  custom: {
    50: '#a8c771',
    500: '#7faf30',
    950: '#000000',
  },
}
SCSS
$custom: #7faf30;
$custom-light: #a8c771;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf30",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 82.677,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69547,
    "c": 0.16135,
    "h": 128.2
  },
  "luminance": 0.35385
}

Semantic roles & 50–950 ramp

primary
#7FAF30
secondary
#9476C4
accent
#48E081
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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