#7FAF3B#7FAF3B

#7FAF3B is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.6% C 0.154 H 129.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7FAF3B
RGBrgb(127, 175, 59)
HSLhsl(85, 50%, 46%)
HSVhsv(85, 66%, 69%)
CMYKcmyk(27.4%, 0%, 66.3%, 31.4%)
CIE-LABlab(66.13, -34.18, 52.35)
CIE-LCHlch(66.13, 62.52, 123.14°)
OKLaboklab(69.64% -0.0969 0.1195)
OKLCHoklch(69.64% 0.154 129)
XYZxyz(24.8717, 35.4871, 9.6761)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF3B #6B3BAF
analogous
#AFA53B #7FAF3B #45AF3B
triadic
#7FAF3B #3B7FAF #AF3B7F
tetradic
#7FAF3B #3BAFA5 #6B3BAF #AF3B45
square
#7FAF3B #3BAFA5 #6B3BAF #AF3B45
split-complementary
#7FAF3B #3B45AF #A53BAF
monochromatic
#3D531C #5E812C #7FAF3B #9DC95E #B9D88C

Accessibility & contrast

On white

2.59
#7FAF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#7FAF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF3B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF3B#FFFFFF#000000##000000
##7FAF3B1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32B
Deuteranopia (green-blind)
#B1A044
Tritanopia (blue-blind)
#83A797
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7faf3b;
/* rgb */ color: rgb(127, 175, 59);
/* oklch */ color: oklch(69.6% 0.154 129.0);
Tailwind
colors: {
  custom: {
    50: '#a7c777',
    500: '#7faf3b',
    950: '#000000',
  },
}
SCSS
$custom: #7faf3b;
$custom-light: #a7c777;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf3b",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 84.828,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69636,
    "c": 0.15381,
    "h": 129
  },
  "luminance": 0.35488
}

Semantic roles & 50–950 ramp

primary
#7FAF3B
secondary
#9D83C3
accent
#4FD988
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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