#7E911F#7E911F

#7E911F is a light, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.1% C 0.135 H 119.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7E911F
RGBrgb(126, 145, 31)
HSLhsl(70, 65%, 35%)
HSVhsv(70, 79%, 57%)
CMYKcmyk(13.1%, 0%, 78.6%, 43.1%)
CIE-LABlab(56.87, -21.84, 53.63)
CIE-LCHlch(56.87, 57.91, 112.16°)
OKLaboklab(62.07% -0.0653 0.1177)
OKLCHoklch(62.07% 0.135 119)
XYZxyz(18.9773, 24.7855, 5.0804)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E911F #321F91
analogous
#916B1F #7E911F #45911F
triadic
#7E911F #1F7E91 #911F7E
tetradic
#7E911F #1F916B #321F91 #911F45
square
#7E911F #1F916B #321F91 #911F45
split-complementary
#7E911F #1F4591 #6B1F91
monochromatic
#262C09 #525F14 #7E911F #AAC32A #C3DA51

Accessibility & contrast

On white

3.53
#7E911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7E911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E911F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E911F#FFFFFF#000000##000000
##7E911F1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#86897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e911f;
/* rgb */ color: rgb(126, 145, 31);
/* oklch */ color: oklch(62.1% 0.135 119.0);
Tailwind
colors: {
  custom: {
    50: '#a7b165',
    500: '#7e911f',
    950: '#000000',
  },
}
SCSS
$custom: #7e911f;
$custom-light: #a7b165;
$custom-dark: #000000;
JSON
{
  "hex": "#7e911f",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 70,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.13466,
    "h": 119
  },
  "luminance": 0.24785
}

Semantic roles & 50–950 ramp

primary
#7E911F
secondary
#614FBD
accent
#40E85C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E911F

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

Preview Lab → · Contrast checker → · Palette generator →

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