#7E991B#7E991B

#7E991B is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.146 H 121.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7E991B
RGBrgb(126, 153, 27)
HSLhsl(73, 70%, 35%)
HSVhsv(73, 82%, 60%)
CMYKcmyk(17.6%, 0%, 82.4%, 40%)
CIE-LABlab(59.25, -26.00, 56.98)
CIE-LCHlch(59.25, 62.63, 114.52°)
OKLaboklab(63.99% -0.077 0.1242)
OKLCHoklch(63.99% 0.146 121.8)
XYZxyz(20.1936, 27.2972, 5.2417)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E991B #361B99
analogous
#99751B #7E991B #3F991B
triadic
#7E991B #1B7E99 #991B7E
tetradic
#7E991B #1B9975 #361B99 #991B3F
square
#7E991B #1B9975 #361B99 #991B3F
split-complementary
#7E991B #1B3F99 #751B99
monochromatic
#283109 #536512 #7E991B #A9CD24 #C1E04F

Accessibility & contrast

On white

3.25
#7E991B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#7E991B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E991B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E991B#FFFFFF#000000##000000
##7E991B1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#9F8F29
Tritanopia (blue-blind)
#859182
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e991b;
/* rgb */ color: rgb(126, 153, 27);
/* oklch */ color: oklch(64.0% 0.146 121.8);
Tailwind
colors: {
  custom: {
    50: '#a7b764',
    500: '#7e991b',
    950: '#000000',
  },
}
SCSS
$custom: #7e991b;
$custom-light: #a7b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7e991b",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 72.857,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63986,
    "c": 0.14612,
    "h": 121.8
  },
  "luminance": 0.27297
}

Semantic roles & 50–950 ramp

primary
#7E991B
secondary
#674EC2
accent
#3BED61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E991B

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

Preview Lab → · Contrast checker → · Palette generator →

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