#7E992B#7E992B

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

Color values

HEX#7E992B
RGBrgb(126, 153, 43)
HSLhsl(75, 56%, 38%)
HSVhsv(75, 72%, 60%)
CMYKcmyk(17.6%, 0%, 71.9%, 40%)
CIE-LABlab(59.34, -25.20, 51.74)
CIE-LCHlch(59.34, 57.55, 115.97°)
OKLaboklab(64.09% -0.0736 0.1158)
OKLCHoklch(64.09% 0.137 122.4)
XYZxyz(20.4317, 27.3924, 6.4959)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E992B #462B99
analogous
#997D2B #7E992B #47992B
triadic
#7E992B #2B7E99 #992B7E
tetradic
#7E992B #2B997D #462B99 #992B47
square
#7E992B #2B997D #462B99 #992B47
split-complementary
#7E992B #2B4799 #7D2B99
monochromatic
#2F3910 #57691E #7E992B #A5C83A #BBD569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E992B#FFFFFF#000000##000000
##7E992B1.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)
#A28F18
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#859183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e992b;
/* rgb */ color: rgb(126, 153, 43);
/* oklch */ color: oklch(64.1% 0.137 122.4);
Tailwind
colors: {
  custom: {
    50: '#a6b76c',
    500: '#7e992b',
    950: '#000000',
  },
}
SCSS
$custom: #7e992b;
$custom-light: #a6b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e992b",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 74.727,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64085,
    "c": 0.13721,
    "h": 122.4
  },
  "luminance": 0.27393
}

Semantic roles & 50–950 ramp

primary
#7E992B
secondary
#7A64BC
accent
#48DF6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E992B

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

Preview Lab → · Contrast checker → · Palette generator →

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