#7FA751#7FA751

#7FA751 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.9% C 0.123 H 129.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7FA751
RGBrgb(127, 167, 81)
HSLhsl(88, 35%, 49%)
HSVhsv(88, 51%, 65%)
CMYKcmyk(24%, 0%, 51.5%, 34.5%)
CIE-LABlab(63.95, -28.35, 39.78)
CIE-LCHlch(63.95, 48.85, 125.47°)
OKLaboklab(67.95% -0.0789 0.0949)
OKLCHoklch(67.95% 0.123 129.8)
XYZxyz(24.0561, 32.7430, 12.8356)
Luminance0.3274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA751 #7951A7
analogous
#A7A451 #7FA751 #54A751
triadic
#7FA751 #517FA7 #A7517F
tetradic
#7FA751 #51A7A4 #7951A7 #A75154
square
#7FA751 #51A7A4 #7951A7 #A75154
split-complementary
#7FA751 #5154A7 #A451A7
monochromatic
#405529 #607E3D #7FA751 #9DBD78 #BBD1A1

Accessibility & contrast

On white

2.78
#7FA751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7FA751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA751
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA751#FFFFFF#000000##000000
##7FA7511.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D49
Deuteranopia (green-blind)
#A89A56
Tritanopia (blue-blind)
#82A193
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa751;
/* rgb */ color: rgb(127, 167, 81);
/* oklch */ color: oklch(67.9% 0.123 129.8);
Tailwind
colors: {
  custom: {
    50: '#a6c184',
    500: '#7fa751',
    950: '#000000',
  },
}
SCSS
$custom: #7fa751;
$custom-light: #a6c184;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa751",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 87.907,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.67947,
    "c": 0.12337,
    "h": 129.8
  },
  "luminance": 0.32744
}

Semantic roles & 50–950 ramp

primary
#7FA751
secondary
#A895BF
accent
#5DCB90
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #7FA751

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

Preview Lab → · Contrast checker → · Palette generator →

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