#7E951F#7E951F

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

Color values

HEX#7E951F
RGBrgb(126, 149, 31)
HSLhsl(72, 66%, 35%)
HSVhsv(72, 79%, 58%)
CMYKcmyk(15.4%, 0%, 79.2%, 41.6%)
CIE-LABlab(58.06, -23.85, 54.73)
CIE-LCHlch(58.06, 59.70, 113.55°)
OKLaboklab(63.04% -0.0709 0.1201)
OKLCHoklch(63.04% 0.139 120.5)
XYZxyz(19.5993, 26.0295, 5.2877)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E951F #361F95
analogous
#95711F #7E951F #43951F
triadic
#7E951F #1F7E95 #951F7E
tetradic
#7E951F #1F9571 #361F95 #951F43
square
#7E951F #1F9571 #361F95 #951F43
split-complementary
#7E951F #1F4395 #711F95
monochromatic
#28300A #536214 #7E951F #A9C82A #C1DB53

Accessibility & contrast

On white

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

On black

6.21
#7E951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E951F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E951F#FFFFFF#000000##000000
##7E951F1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e951f;
/* rgb */ color: rgb(126, 149, 31);
/* oklch */ color: oklch(63.0% 0.139 120.5);
Tailwind
colors: {
  custom: {
    50: '#a7b465',
    500: '#7e951f',
    950: '#000000',
  },
}
SCSS
$custom: #7e951f;
$custom-light: #a7b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7e951f",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 71.695,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63037,
    "c": 0.13943,
    "h": 120.5
  },
  "luminance": 0.26029
}

Semantic roles & 50–950 ramp

primary
#7E951F
secondary
#6751BF
accent
#3FE960
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E951F

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

Preview Lab → · Contrast checker → · Palette generator →

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