#7E951E#7E951E

#7E951E is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.0% C 0.140 H 120.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7E951E
RGBrgb(126, 149, 30)
HSLhsl(72, 66%, 35%)
HSVhsv(72, 80%, 58%)
CMYKcmyk(15.4%, 0%, 79.9%, 41.6%)
CIE-LABlab(58.06, -23.89, 55.04)
CIE-LCHlch(58.06, 60.00, 113.47°)
OKLaboklab(63.03% -0.0711 0.1206)
OKLCHoklch(63.03% 0.14 120.5)
XYZxyz(19.5864, 26.0243, 5.2194)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E951E #351E95
analogous
#95711E #7E951E #42951E
triadic
#7E951E #1E7E95 #951E7E
tetradic
#7E951E #1E9571 #351E95 #951E42
square
#7E951E #1E9571 #351E95 #951E42
split-complementary
#7E951E #1E4295 #711E95
monochromatic
#282F09 #536214 #7E951E #A9C828 #C1DC51

Accessibility & contrast

On white

3.38
#7E951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7E951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E951E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E951E#FFFFFF#000000##000000
##7E951E1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#868D7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e951e;
/* rgb */ color: rgb(126, 149, 30);
/* oklch */ color: oklch(63.0% 0.140 120.5);
Tailwind
colors: {
  custom: {
    50: '#a7b465',
    500: '#7e951e',
    950: '#000000',
  },
}
SCSS
$custom: #7e951e;
$custom-light: #a7b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7e951e",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 71.597,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63031,
    "c": 0.13994,
    "h": 120.5
  },
  "luminance": 0.26024
}

Semantic roles & 50–950 ramp

primary
#7E951E
secondary
#6550BF
accent
#3EE95F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E951E

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

Preview Lab → · Contrast checker → · Palette generator →

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