#7E9D1B#7E9D1B

#7E9D1B is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 65.0% C 0.151 H 123.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7E9D1B
RGBrgb(126, 157, 27)
HSLhsl(74, 71%, 36%)
HSVhsv(74, 83%, 62%)
CMYKcmyk(19.7%, 0%, 82.8%, 38.4%)
CIE-LABlab(60.45, -27.94, 58.05)
CIE-LCHlch(60.45, 64.42, 115.70°)
OKLaboklab(64.96% -0.0823 0.1264)
OKLCHoklch(64.96% 0.151 123.1)
XYZxyz(20.8593, 28.6286, 5.4636)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9D1B #3A1B9D
analogous
#9D7B1B #7E9D1B #3D9D1B
triadic
#7E9D1B #1B7E9D #9D1B7E
tetradic
#7E9D1B #1B9D7B #3A1B9D #9D1B3D
square
#7E9D1B #1B9D7B #3A1B9D #9D1B3D
split-complementary
#7E9D1B #1B3D9D #7B1B9D
monochromatic
#2A3509 #546912 #7E9D1B #A8D124 #BFE151

Accessibility & contrast

On white

3.12
#7E9D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7E9D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9D1B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9D1B#FFFFFF#000000##000000
##7E9D1B1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#859586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9d1b;
/* rgb */ color: rgb(126, 157, 27);
/* oklch */ color: oklch(65.0% 0.151 123.1);
Tailwind
colors: {
  custom: {
    50: '#a7ba65',
    500: '#7e9d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7e9d1b;
$custom-light: #a7ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9d1b",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 74.308,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6496,
    "c": 0.15088,
    "h": 123.1
  },
  "luminance": 0.28629
}

Semantic roles & 50–950 ramp

primary
#7E9D1B
secondary
#6C50C4
accent
#3AED65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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