#7E9B2E#7E9B2E

#7E9B2E is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.6% C 0.138 H 123.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7E9B2E
RGBrgb(126, 155, 46)
HSLhsl(76, 54%, 39%)
HSVhsv(76, 70%, 61%)
CMYKcmyk(18.7%, 0%, 70.3%, 39.2%)
CIE-LABlab(59.96, -26.00, 51.20)
CIE-LCHlch(59.96, 57.42, 116.92°)
OKLaboklab(64.59% -0.0755 0.1152)
OKLCHoklch(64.59% 0.138 123.2)
XYZxyz(20.8189, 28.0755, 6.9065)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9B2E #4B2E9B
analogous
#9B822E #7E9B2E #489B2E
triadic
#7E9B2E #2E7E9B #9B2E7E
tetradic
#7E9B2E #2E9B82 #4B2E9B #9B2E48
square
#7E9B2E #2E9B82 #4B2E9B #9B2E48
split-complementary
#7E9B2E #2E489B #822E9B
monochromatic
#313D12 #586C20 #7E9B2E #A3C640 #B9D46F

Accessibility & contrast

On white

3.17
#7E9B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7E9B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9B2E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9B2E#FFFFFF#000000##000000
##7E9B2E1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911D
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#849385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9b2e;
/* rgb */ color: rgb(126, 155, 46);
/* oklch */ color: oklch(64.6% 0.138 123.2);
Tailwind
colors: {
  custom: {
    50: '#a6b86e',
    500: '#7e9b2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9b2e;
$custom-light: #a6b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9b2e",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 75.963,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64593,
    "c": 0.1377,
    "h": 123.2
  },
  "luminance": 0.28076
}

Semantic roles & 50–950 ramp

primary
#7E9B2E
secondary
#7F69BC
accent
#4ADE71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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