#7E992D#7E992D

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

Color values

HEX#7E992D
RGBrgb(126, 153, 45)
HSLhsl(75, 55%, 39%)
HSVhsv(75, 71%, 60%)
CMYKcmyk(17.6%, 0%, 70.6%, 40%)
CIE-LABlab(59.35, -25.08, 50.98)
CIE-LCHlch(59.35, 56.81, 116.20°)
OKLaboklab(64.1% -0.073 0.1146)
OKLCHoklch(64.1% 0.136 122.5)
XYZxyz(20.4693, 27.4075, 6.6939)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E992D #482D99
analogous
#997E2D #7E992D #48992D
triadic
#7E992D #2D7E99 #992D7E
tetradic
#7E992D #2D997E #482D99 #992D48
square
#7E992D #2D997E #482D99 #992D48
split-complementary
#7E992D #2D4899 #7E2D99
monochromatic
#303A11 #576A1F #7E992D #A4C63D #BAD46C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E992D#FFFFFF#000000##000000
##7E992D1.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)
#A2901C
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#859184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e992d;
/* rgb */ color: rgb(126, 153, 45);
/* oklch */ color: oklch(64.1% 0.136 122.5);
Tailwind
colors: {
  custom: {
    50: '#a6b76d',
    500: '#7e992d',
    950: '#000000',
  },
}
SCSS
$custom: #7e992d;
$custom-light: #a6b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e992d",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 45
  },
  "hsl": {
    "h": 75,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.641,
    "c": 0.13585,
    "h": 122.5
  },
  "luminance": 0.27408
}

Semantic roles & 50–950 ramp

primary
#7E992D
secondary
#7C67BB
accent
#4ADE6F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E992D

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

Preview Lab → · Contrast checker → · Palette generator →

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