#7E951C#7E951C

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

Color values

HEX#7E951C
RGBrgb(126, 149, 28)
HSLhsl(71, 68%, 35%)
HSVhsv(71, 81%, 58%)
CMYKcmyk(15.4%, 0%, 81.2%, 41.6%)
CIE-LABlab(58.05, -23.98, 55.63)
CIE-LCHlch(58.05, 60.58, 113.32°)
OKLaboklab(63.02% -0.0714 0.1215)
OKLCHoklch(63.02% 0.141 120.5)
XYZxyz(19.5616, 26.0144, 5.0891)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E951C #331C95
analogous
#95701C #7E951C #41951C
triadic
#7E951C #1C7E95 #951C7E
tetradic
#7E951C #1C9570 #331C95 #951C41
square
#7E951C #1C9570 #331C95 #951C41
split-complementary
#7E951C #1C4195 #701C95
monochromatic
#272E09 #526112 #7E951C #AAC926 #C2DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E951C#FFFFFF#000000##000000
##7E951C1.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: #7e951c;
/* rgb */ color: rgb(126, 149, 28);
/* oklch */ color: oklch(63.0% 0.141 120.5);
Tailwind
colors: {
  custom: {
    50: '#a7b464',
    500: '#7e951c',
    950: '#000000',
  },
}
SCSS
$custom: #7e951c;
$custom-light: #a7b464;
$custom-dark: #000000;
JSON
{
  "hex": "#7e951c",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 71.405,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63021,
    "c": 0.14092,
    "h": 120.5
  },
  "luminance": 0.26014
}

Semantic roles & 50–950 ramp

primary
#7E951C
secondary
#634DC0
accent
#3DEB5E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E951C

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

Preview Lab → · Contrast checker → · Palette generator →

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