#7E9B2B#7E9B2B

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

Color values

HEX#7E9B2B
RGBrgb(126, 155, 43)
HSLhsl(76, 57%, 39%)
HSVhsv(76, 72%, 61%)
CMYKcmyk(18.7%, 0%, 72.3%, 39.2%)
CIE-LABlab(59.94, -26.19, 52.34)
CIE-LCHlch(59.94, 58.52, 116.58°)
OKLaboklab(64.57% -0.0763 0.1171)
OKLCHoklch(64.57% 0.14 123.1)
XYZxyz(20.7618, 28.0526, 6.6059)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9B2B #482B9B
analogous
#9B802B #7E9B2B #469B2B
triadic
#7E9B2B #2B7E9B #9B2B7E
tetradic
#7E9B2B #2B9B80 #482B9B #9B2B46
square
#7E9B2B #2B9B80 #482B9B #9B2B46
split-complementary
#7E9B2B #2B469B #802B9B
monochromatic
#303B10 #576B1E #7E9B2B #A4C93B #BAD66B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9B2B#FFFFFF#000000##000000
##7E9B2B1.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)
#A49117
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#849385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9b2b;
/* rgb */ color: rgb(126, 155, 43);
/* oklch */ color: oklch(64.6% 0.140 123.1);
Tailwind
colors: {
  custom: {
    50: '#a6b86c',
    500: '#7e9b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e9b2b;
$custom-light: #a6b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9b2b",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 75.536,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.13973,
    "h": 123.1
  },
  "luminance": 0.28053
}

Semantic roles & 50–950 ramp

primary
#7E9B2B
secondary
#7C65BC
accent
#48E06F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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