#7E992A#7E992A

#7E992A is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.138 H 122.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7E992A
RGBrgb(126, 153, 42)
HSLhsl(75, 57%, 38%)
HSVhsv(75, 73%, 60%)
CMYKcmyk(17.6%, 0%, 72.5%, 40%)
CIE-LABlab(59.33, -25.26, 52.11)
CIE-LCHlch(59.33, 57.91, 115.86°)
OKLaboklab(64.08% -0.0738 0.1165)
OKLCHoklch(64.08% 0.138 122.4)
XYZxyz(20.4136, 27.3852, 6.4005)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E992A #452A99
analogous
#997C2A #7E992A #46992A
triadic
#7E992A #2A7E99 #992A7E
tetradic
#7E992A #2A997C #452A99 #992A46
square
#7E992A #2A997C #452A99 #992A46
split-complementary
#7E992A #2A4699 #7C2A99
monochromatic
#2F3910 #56691D #7E992A #A5C838 #BBD668

Accessibility & contrast

On white

3.24
#7E992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7E992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E992A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E992A#FFFFFF#000000##000000
##7E992A1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F16
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#859183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e992a;
/* rgb */ color: rgb(126, 153, 42);
/* oklch */ color: oklch(64.1% 0.138 122.4);
Tailwind
colors: {
  custom: {
    50: '#a6b76b',
    500: '#7e992a',
    950: '#000000',
  },
}
SCSS
$custom: #7e992a;
$custom-light: #a6b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e992a",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 74.595,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64077,
    "c": 0.13788,
    "h": 122.4
  },
  "luminance": 0.27385
}

Semantic roles & 50–950 ramp

primary
#7E992A
secondary
#7963BC
accent
#48E06D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E992A

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

Preview Lab → · Contrast checker → · Palette generator →

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