#7E9C3F#7E9C3F

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

Color values

HEX#7E9C3F
RGBrgb(126, 156, 63)
HSLhsl(79, 42%, 43%)
HSVhsv(79, 60%, 61%)
CMYKcmyk(19.2%, 0%, 59.6%, 38.8%)
CIE-LABlab(60.40, -25.19, 44.32)
CIE-LCHlch(60.40, 50.97, 119.61°)
OKLaboklab(65% -0.0716 0.103)
OKLCHoklch(65% 0.125 124.8)
XYZxyz(21.3899, 28.5712, 9.0896)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9C3F #5D3F9C
analogous
#9C8B3F #7E9C3F #4F9C3F
triadic
#7E9C3F #3F7E9C #9C3F7E
tetradic
#7E9C3F #3F9C8B #5D3F9C #9C3F4F
square
#7E9C3F #3F9C8B #5D3F9C #9C3F4F
split-complementary
#7E9C3F #3F4F9C #8B3F9C
monochromatic
#38451C #5B702D #7E9C3F #9DBD5B #B7CE87

Accessibility & contrast

On white

3.13
#7E9C3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7E9C3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9C3F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9C3F#FFFFFF#000000##000000
##7E9C3F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49335
Deuteranopia (green-blind)
#A09145
Tritanopia (blue-blind)
#839588
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9c3f;
/* rgb */ color: rgb(126, 156, 63);
/* oklch */ color: oklch(65.0% 0.125 124.8);
Tailwind
colors: {
  custom: {
    50: '#a6b978',
    500: '#7e9c3f',
    950: '#000000',
  },
}
SCSS
$custom: #7e9c3f;
$custom-light: #a6b978;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9c3f",
  "rgb": {
    "r": 126,
    "g": 156,
    "b": 63
  },
  "hsl": {
    "h": 79.355,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64998,
    "c": 0.12541,
    "h": 124.8
  },
  "luminance": 0.28571
}

Semantic roles & 50–950 ramp

primary
#7E9C3F
secondary
#917EB9
accent
#56D27E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101109
muted
#7F807B

Preview Lab

Preview with #7E9C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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