#7E9F2F#7E9F2F

#7E9F2F is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.6% C 0.142 H 124.5°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7E9F2F
RGBrgb(126, 159, 47)
HSLhsl(78, 54%, 40%)
HSVhsv(78, 70%, 62%)
CMYKcmyk(20.8%, 0%, 70.4%, 37.6%)
CIE-LABlab(61.17, -27.88, 52.03)
CIE-LCHlch(61.17, 59.03, 118.19°)
OKLaboklab(65.57% -0.0806 0.1171)
OKLCHoklch(65.57% 0.142 124.5)
XYZxyz(21.5156, 29.4369, 7.2371)
Luminance0.2944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F2F #502F9F
analogous
#9F882F #7E9F2F #469F2F
triadic
#7E9F2F #2F7E9F #9F2F7E
tetradic
#7E9F2F #2F9F88 #502F9F #9F2F46
square
#7E9F2F #2F9F88 #502F9F #9F2F46
split-complementary
#7E9F2F #2F469F #882F9F
monochromatic
#334113 #597021 #7E9F2F #A1C844 #B8D673

Accessibility & contrast

On white

3.05
#7E9F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#7E9F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F2F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F2F#FFFFFF#000000##000000
##7E9F2F1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951D
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#849789
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e9f2f;
/* rgb */ color: rgb(126, 159, 47);
/* oklch */ color: oklch(65.6% 0.142 124.5);
Tailwind
colors: {
  custom: {
    50: '#a6bb6f',
    500: '#7e9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f2f;
$custom-light: #a6bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f2f",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 77.679,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65572,
    "c": 0.14212,
    "h": 124.5
  },
  "luminance": 0.29437
}

Semantic roles & 50–950 ramp

primary
#7E9F2F
secondary
#846DBD
accent
#4ADE76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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