#7E9E2B#7E9E2B

#7E9E2B is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.3% C 0.144 H 124.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7E9E2B
RGBrgb(126, 158, 43)
HSLhsl(77, 57%, 39%)
HSVhsv(77, 73%, 62%)
CMYKcmyk(20.3%, 0%, 72.8%, 38%)
CIE-LABlab(60.84, -27.65, 53.23)
CIE-LCHlch(60.84, 59.98, 117.45°)
OKLaboklab(65.3% -0.0803 0.119)
OKLCHoklch(65.3% 0.144 124)
XYZxyz(21.2673, 29.0636, 6.7744)
Luminance0.2906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E2B #4B2B9E
analogous
#9E852B #7E9E2B #449E2B
triadic
#7E9E2B #2B7E9E #9E2B7E
tetradic
#7E9E2B #2B9E85 #4B2B9E #9E2B44
square
#7E9E2B #2B9E85 #4B2B9E #9E2B44
split-complementary
#7E9E2B #2B449E #852B9E
monochromatic
#313E11 #586E1E #7E9E2B #A3CA3C #B9D76C

Accessibility & contrast

On white

3.08
#7E9E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#7E9E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9E2B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9E2B#FFFFFF#000000##000000
##7E9E2B1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79416
Deuteranopia (green-blind)
#A39235
Tritanopia (blue-blind)
#849688
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e2b;
/* rgb */ color: rgb(126, 158, 43);
/* oklch */ color: oklch(65.3% 0.144 124.0);
Tailwind
colors: {
  custom: {
    50: '#a7ba6c',
    500: '#7e9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e2b;
$custom-light: #a7ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e2b",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 76.696,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65298,
    "c": 0.14352,
    "h": 124
  },
  "luminance": 0.29064
}

Semantic roles & 50–950 ramp

primary
#7E9E2B
secondary
#7F67BE
accent
#47E072
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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