#7E9B2D#7E9B2D

#7E9B2D is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.6% C 0.138 H 123.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7E9B2D
RGBrgb(126, 155, 45)
HSLhsl(76, 55%, 39%)
HSVhsv(76, 71%, 61%)
CMYKcmyk(18.7%, 0%, 71%, 39.2%)
CIE-LABlab(59.95, -26.06, 51.58)
CIE-LCHlch(59.95, 57.79, 116.81°)
OKLaboklab(64.59% -0.0757 0.1158)
OKLCHoklch(64.59% 0.138 123.2)
XYZxyz(20.7994, 28.0677, 6.8039)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9B2D #4A2D9B
analogous
#9B812D #7E9B2D #479B2D
triadic
#7E9B2D #2D7E9B #9B2D7E
tetradic
#7E9B2D #2D9B81 #4A2D9B #9B2D47
square
#7E9B2D #2D9B81 #4A2D9B #9B2D47
split-complementary
#7E9B2D #2D479B #812D9B
monochromatic
#313C11 #576C1F #7E9B2D #A3C73E #BAD56E

Accessibility & contrast

On white

3.18
#7E9B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7E9B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9B2D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9B2D#FFFFFF#000000##000000
##7E9B2D1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911B
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#849385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9b2d;
/* rgb */ color: rgb(126, 155, 45);
/* oklch */ color: oklch(64.6% 0.138 123.2);
Tailwind
colors: {
  custom: {
    50: '#a6b86d',
    500: '#7e9b2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e9b2d;
$custom-light: #a6b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9b2d",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 75.818,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64585,
    "c": 0.13839,
    "h": 123.2
  },
  "luminance": 0.28068
}

Semantic roles & 50–950 ramp

primary
#7E9B2D
secondary
#7E68BC
accent
#49DE71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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