#7E9A2E#7E9A2E

#7E9A2E is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.136 H 122.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7E9A2E
RGBrgb(126, 154, 46)
HSLhsl(76, 54%, 39%)
HSVhsv(76, 70%, 60%)
CMYKcmyk(18.2%, 0%, 70.1%, 39.6%)
CIE-LABlab(59.66, -25.51, 50.89)
CIE-LCHlch(59.66, 56.93, 116.62°)
OKLaboklab(64.35% -0.0741 0.1145)
OKLCHoklch(64.35% 0.136 122.9)
XYZxyz(20.6532, 27.7440, 6.8513)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9A2E #4A2E9A
analogous
#9A802E #7E9A2E #489A2E
triadic
#7E9A2E #2E7E9A #9A2E7E
tetradic
#7E9A2E #2E9A80 #4A2E9A #9A2E48
square
#7E9A2E #2E9A80 #4A2E9A #9A2E48
split-complementary
#7E9A2E #2E489A #802E9A
monochromatic
#313C12 #576B20 #7E9A2E #A3C63F #BAD46F

Accessibility & contrast

On white

3.21
#7E9A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7E9A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9A2E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9A2E#FFFFFF#000000##000000
##7E9A2E1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901D
Deuteranopia (green-blind)
#9F9037
Tritanopia (blue-blind)
#849285
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9a2e;
/* rgb */ color: rgb(126, 154, 46);
/* oklch */ color: oklch(64.3% 0.136 122.9);
Tailwind
colors: {
  custom: {
    50: '#a6b76d',
    500: '#7e9a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9a2e;
$custom-light: #a6b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9a2e",
  "rgb": {
    "r": 126,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 75.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6435,
    "c": 0.13643,
    "h": 122.9
  },
  "luminance": 0.27744
}

Semantic roles & 50–950 ramp

primary
#7E9A2E
secondary
#7E69BB
accent
#4ADD71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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