#7E9F1E#7E9F1E

#7E9F1E is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.5% C 0.152 H 123.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7E9F1E
RGBrgb(126, 159, 30)
HSLhsl(75, 68%, 37%)
HSVhsv(75, 81%, 62%)
CMYKcmyk(20.8%, 0%, 81.1%, 37.6%)
CIE-LABlab(61.07, -28.79, 57.76)
CIE-LCHlch(61.07, 64.53, 116.49°)
OKLaboklab(65.46% -0.0844 0.1263)
OKLCHoklch(65.46% 0.152 123.8)
XYZxyz(21.2369, 29.3255, 5.7696)
Luminance0.2933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F1E #3F1E9F
analogous
#9F801E #7E9F1E #3D9F1E
triadic
#7E9F1E #1E7E9F #9F1E7E
tetradic
#7E9F1E #1E9F80 #3F1E9F #9F1E3D
square
#7E9F1E #1E9F80 #3F1E9F #9F1E3D
split-complementary
#7E9F1E #1E3D9F #801E9F
monochromatic
#2C380B #556C14 #7E9F1E #A7D228 #BDDF58

Accessibility & contrast

On white

3.06
#7E9F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#7E9F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F1E
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F1E#FFFFFF#000000##000000
##7E9F1E1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#859788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9f1e;
/* rgb */ color: rgb(126, 159, 30);
/* oklch */ color: oklch(65.5% 0.152 123.8);
Tailwind
colors: {
  custom: {
    50: '#a7bb66',
    500: '#7e9f1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f1e;
$custom-light: #a7bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f1e",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 30
  },
  "hsl": {
    "h": 75.349,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65462,
    "c": 0.15194,
    "h": 123.8
  },
  "luminance": 0.29326
}

Semantic roles & 50–950 ramp

primary
#7E9F1E
secondary
#7256C3
accent
#3DEB69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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