#7E9A1B#7E9A1B

#7E9A1B is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.147 H 122.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E9A1B
RGBrgb(126, 154, 27)
HSLhsl(73, 70%, 35%)
HSVhsv(73, 82%, 60%)
CMYKcmyk(18.2%, 0%, 82.5%, 39.6%)
CIE-LABlab(59.55, -26.48, 57.25)
CIE-LCHlch(59.55, 63.08, 114.83°)
OKLaboklab(64.23% -0.0784 0.1247)
OKLCHoklch(64.23% 0.147 122.1)
XYZxyz(20.3580, 27.6259, 5.2965)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9A1B #371B9A
analogous
#9A761B #7E9A1B #3F9A1B
triadic
#7E9A1B #1B7E9A #9A1B7E
tetradic
#7E9A1B #1B9A76 #371B9A #9A1B3F
square
#7E9A1B #1B9A76 #371B9A #9A1B3F
split-complementary
#7E9A1B #1B3F9A #761B9A
monochromatic
#293209 #536612 #7E9A1B #A9CE24 #C0E04F

Accessibility & contrast

On white

3.22
#7E9A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7E9A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9A1B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9A1B#FFFFFF#000000##000000
##7E9A1B1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A08F29
Tritanopia (blue-blind)
#859283
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9a1b;
/* rgb */ color: rgb(126, 154, 27);
/* oklch */ color: oklch(64.2% 0.147 122.1);
Tailwind
colors: {
  custom: {
    50: '#a7b765',
    500: '#7e9a1b',
    950: '#000000',
  },
}
SCSS
$custom: #7e9a1b;
$custom-light: #a7b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9a1b",
  "rgb": {
    "r": 126,
    "g": 154,
    "b": 27
  },
  "hsl": {
    "h": 73.228,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64229,
    "c": 0.14731,
    "h": 122.1
  },
  "luminance": 0.27626
}

Semantic roles & 50–950 ramp

primary
#7E9A1B
secondary
#684EC3
accent
#3BED62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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