#7E9B1B#7E9B1B

#7E9B1B is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.148 H 122.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E9B1B
RGBrgb(126, 155, 27)
HSLhsl(74, 70%, 36%)
HSVhsv(74, 83%, 61%)
CMYKcmyk(18.7%, 0%, 82.6%, 39.2%)
CIE-LABlab(59.85, -26.97, 57.51)
CIE-LCHlch(59.85, 63.52, 115.12°)
OKLaboklab(64.47% -0.0797 0.1253)
OKLCHoklch(64.47% 0.148 122.5)
XYZxyz(20.5237, 27.9574, 5.3518)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9B1B #381B9B
analogous
#9B781B #7E9B1B #3E9B1B
triadic
#7E9B1B #1B7E9B #9B1B7E
tetradic
#7E9B1B #1B9B78 #381B9B #9B1B3E
square
#7E9B1B #1B9B78 #381B9B #9B1B3E
split-complementary
#7E9B1B #1B3E9B #781B9B
monochromatic
#293309 #546712 #7E9B1B #A8CF24 #C0E050

Accessibility & contrast

On white

3.19
#7E9B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7E9B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9B1B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9B1B#FFFFFF#000000##000000
##7E9B1B1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#859384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9b1b;
/* rgb */ color: rgb(126, 155, 27);
/* oklch */ color: oklch(64.5% 0.148 122.5);
Tailwind
colors: {
  custom: {
    50: '#a7b865',
    500: '#7e9b1b',
    950: '#000000',
  },
}
SCSS
$custom: #7e9b1b;
$custom-light: #a7b865;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9b1b",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 27
  },
  "hsl": {
    "h": 73.594,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64473,
    "c": 0.14849,
    "h": 122.5
  },
  "luminance": 0.27957
}

Semantic roles & 50–950 ramp

primary
#7E9B1B
secondary
#694FC3
accent
#3BED63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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