#7E9F2A#7E9F2A

#7E9F2A is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.5% C 0.145 H 124.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7E9F2A
RGBrgb(126, 159, 42)
HSLhsl(77, 58%, 39%)
HSVhsv(77, 74%, 62%)
CMYKcmyk(20.8%, 0%, 73.6%, 37.6%)
CIE-LABlab(61.13, -28.19, 53.89)
CIE-LCHlch(61.13, 60.81, 117.62°)
OKLaboklab(65.53% -0.0819 0.1202)
OKLCHoklch(65.53% 0.145 124.3)
XYZxyz(21.4204, 29.3989, 6.7361)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F2A #4B2A9F
analogous
#9F862A #7E9F2A #449F2A
triadic
#7E9F2A #2A7E9F #9F2A7E
tetradic
#7E9F2A #2A9F86 #4B2A9F #9F2A44
square
#7E9F2A #2A9F86 #4B2A9F #9F2A44
split-complementary
#7E9F2A #2A449F #862A9F
monochromatic
#313E10 #586F1D #7E9F2A #A3CB3B #B9D86B

Accessibility & contrast

On white

3.05
#7E9F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7E9F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F2A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F2A#FFFFFF#000000##000000
##7E9F2A1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89514
Deuteranopia (green-blind)
#A49334
Tritanopia (blue-blind)
#849788
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e9f2a;
/* rgb */ color: rgb(126, 159, 42);
/* oklch */ color: oklch(65.5% 0.145 124.3);
Tailwind
colors: {
  custom: {
    50: '#a7bb6c',
    500: '#7e9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f2a;
$custom-light: #a7bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f2a",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 76.923,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65534,
    "c": 0.1454,
    "h": 124.3
  },
  "luminance": 0.29399
}

Semantic roles & 50–950 ramp

primary
#7E9F2A
secondary
#7F66BF
accent
#46E172
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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