#7E9F20#7E9F20

#7E9F20 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.5% C 0.151 H 123.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7E9F20
RGBrgb(126, 159, 32)
HSLhsl(76, 66%, 37%)
HSVhsv(76, 80%, 62%)
CMYKcmyk(20.8%, 0%, 79.9%, 37.6%)
CIE-LABlab(61.08, -28.70, 57.17)
CIE-LCHlch(61.08, 63.97, 116.66°)
OKLaboklab(65.47% -0.084 0.1254)
OKLCHoklch(65.47% 0.151 123.8)
XYZxyz(21.2633, 29.3360, 5.9084)
Luminance0.2934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F20 #41209F
analogous
#9F8120 #7E9F20 #3E9F20
triadic
#7E9F20 #207E9F #9F207E
tetradic
#7E9F20 #209F81 #41209F #9F203E
square
#7E9F20 #209F81 #41209F #9F203E
split-complementary
#7E9F20 #203E9F #81209F
monochromatic
#2D390B #566C16 #7E9F20 #A6D22A #BCDE5B

Accessibility & contrast

On white

3.06
#7E9F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#7E9F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F20
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F20#FFFFFF#000000##000000
##7E9F201.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#859788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9f20;
/* rgb */ color: rgb(126, 159, 32);
/* oklch */ color: oklch(65.5% 0.151 123.8);
Tailwind
colors: {
  custom: {
    50: '#a7bb67',
    500: '#7e9f20',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f20;
$custom-light: #a7bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f20",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 75.591,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65472,
    "c": 0.15098,
    "h": 123.8
  },
  "luminance": 0.29336
}

Semantic roles & 50–950 ramp

primary
#7E9F20
secondary
#7459C2
accent
#3EE96B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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