#7E9F1B#7E9F1B

#7E9F1B is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.4% C 0.153 H 123.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7E9F1B
RGBrgb(126, 159, 27)
HSLhsl(75, 71%, 36%)
HSVhsv(75, 83%, 62%)
CMYKcmyk(20.8%, 0%, 83%, 37.6%)
CIE-LABlab(61.05, -28.90, 58.58)
CIE-LCHlch(61.05, 65.32, 116.26°)
OKLaboklab(65.45% -0.0849 0.1276)
OKLCHoklch(65.45% 0.153 123.7)
XYZxyz(21.2004, 29.3109, 5.5774)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F1B #3C1B9F
analogous
#9F7E1B #7E9F1B #3C9F1B
triadic
#7E9F1B #1B7E9F #9F1B7E
tetradic
#7E9F1B #1B9F7E #3C1B9F #9F1B3C
square
#7E9F1B #1B9F7E #3C1B9F #9F1B3C
split-complementary
#7E9F1B #1B3C9F #7E1B9F
monochromatic
#2B3609 #556B12 #7E9F1B #A7D324 #BEE253

Accessibility & contrast

On white

3.06
#7E9F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7E9F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F1B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F1B#FFFFFF#000000##000000
##7E9F1B1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A4932A
Tritanopia (blue-blind)
#859787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9f1b;
/* rgb */ color: rgb(126, 159, 27);
/* oklch */ color: oklch(65.4% 0.153 123.7);
Tailwind
colors: {
  custom: {
    50: '#a7bb65',
    500: '#7e9f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f1b;
$custom-light: #a7bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f1b",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 75,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65447,
    "c": 0.15327,
    "h": 123.7
  },
  "luminance": 0.29311
}

Semantic roles & 50–950 ramp

primary
#7E9F1B
secondary
#6E51C5
accent
#3AEE67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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