#7FAF2C#7FAF2C

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

Color values

HEX#7FAF2C
RGBrgb(127, 175, 44)
HSLhsl(82, 60%, 43%)
HSVhsv(82, 75%, 69%)
CMYKcmyk(27.4%, 0%, 74.9%, 31.4%)
CIE-LABlab(66.02, -35.18, 57.95)
CIE-LCHlch(66.02, 67.80, 121.26°)
OKLaboklab(69.52% -0.1008 0.129)
OKLCHoklch(69.52% 0.164 128)
XYZxyz(24.5370, 35.3533, 7.9135)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF2C #5C2CAF
analogous
#AF9D2C #7FAF2C #3DAF2C
triadic
#7FAF2C #2C7FAF #AF2C7F
tetradic
#7FAF2C #2CAF9D #5C2CAF #AF2C3D
square
#7FAF2C #2CAF9D #5C2CAF #AF2C3D
split-complementary
#7FAF2C #2C3DAF #9D2CAF
monochromatic
#384D13 #5C7E20 #7FAF2C #9ED147 #B8DD78

Accessibility & contrast

On white

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

On black

8.07
#7FAF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF2C
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF2C#FFFFFF#000000##000000
##7FAF2C1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A310
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#84A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf2c;
/* rgb */ color: rgb(127, 175, 44);
/* oklch */ color: oklch(69.5% 0.164 128.0);
Tailwind
colors: {
  custom: {
    50: '#a8c76f',
    500: '#7faf2c',
    950: '#000000',
  },
}
SCSS
$custom: #7faf2c;
$custom-light: #a8c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf2c",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 81.985,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69519,
    "c": 0.16375,
    "h": 128
  },
  "luminance": 0.35354
}

Semantic roles & 50–950 ramp

primary
#7FAF2C
secondary
#9072C5
accent
#45E37F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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