#7E951D#7E951D

#7E951D 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#7E951D
RGBrgb(126, 149, 29)
HSLhsl(72, 67%, 35%)
HSVhsv(72, 81%, 58%)
CMYKcmyk(15.4%, 0%, 80.5%, 41.6%)
CIE-LABlab(58.06, -23.94, 55.34)
CIE-LCHlch(58.06, 60.29, 113.39°)
OKLaboklab(63.03% -0.0713 0.121)
OKLCHoklch(63.03% 0.14 120.5)
XYZxyz(19.5738, 26.0193, 5.1532)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E951D #341D95
analogous
#95701D #7E951D #42951D
triadic
#7E951D #1D7E95 #951D7E
tetradic
#7E951D #1D9570 #341D95 #951D42
square
#7E951D #1D9570 #341D95 #951D42
split-complementary
#7E951D #1D4295 #701D95
monochromatic
#272F09 #536213 #7E951D #A9C827 #C2DD50

Accessibility & contrast

On white

3.39
#7E951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E951D#FFFFFF#000000##000000
##7E951D1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e951d;
/* rgb */ color: rgb(126, 149, 29);
/* oklch */ color: oklch(63.0% 0.140 120.5);
Tailwind
colors: {
  custom: {
    50: '#a7b465',
    500: '#7e951d',
    950: '#000000',
  },
}
SCSS
$custom: #7e951d;
$custom-light: #a7b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7e951d",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 71.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63026,
    "c": 0.14043,
    "h": 120.5
  },
  "luminance": 0.26019
}

Semantic roles & 50–950 ramp

primary
#7E951D
secondary
#644EC0
accent
#3DEA5F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E951D

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

Preview Lab → · Contrast checker → · Palette generator →

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