#7E951B#7E951B

#7E951B is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.0% C 0.141 H 120.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7E951B
RGBrgb(126, 149, 27)
HSLhsl(71, 69%, 35%)
HSVhsv(71, 82%, 58%)
CMYKcmyk(15.4%, 0%, 81.9%, 41.6%)
CIE-LABlab(58.05, -24.02, 55.92)
CIE-LCHlch(58.05, 60.86, 113.24°)
OKLaboklab(63.02% -0.0716 0.1219)
OKLCHoklch(63.02% 0.141 120.4)
XYZxyz(19.5499, 26.0097, 5.0272)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E951B #321B95
analogous
#956F1B #7E951B #41951B
triadic
#7E951B #1B7E95 #951B7E
tetradic
#7E951B #1B956F #321B95 #951B41
square
#7E951B #1B956F #321B95 #951B41
split-complementary
#7E951B #1B4195 #6F1B95
monochromatic
#262D08 #526112 #7E951B #AAC924 #C3DF4C

Accessibility & contrast

On white

3.39
#7E951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7E951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E951B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E951B#FFFFFF#000000##000000
##7E951B1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#868D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e951b;
/* rgb */ color: rgb(126, 149, 27);
/* oklch */ color: oklch(63.0% 0.141 120.4);
Tailwind
colors: {
  custom: {
    50: '#a7b464',
    500: '#7e951b',
    950: '#000000',
  },
}
SCSS
$custom: #7e951b;
$custom-light: #a7b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7e951b",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 71.311,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.14139,
    "h": 120.4
  },
  "luminance": 0.2601
}

Semantic roles & 50–950 ramp

primary
#7E951B
secondary
#614BC1
accent
#3CEC5D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E951B

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

Preview Lab → · Contrast checker → · Palette generator →

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