#7E9736#7E9736

#7E9736 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.7% C 0.126 H 122.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7E9736
RGBrgb(126, 151, 54)
HSLhsl(75, 47%, 40%)
HSVhsv(75, 64%, 59%)
CMYKcmyk(16.6%, 0%, 64.2%, 40.8%)
CIE-LABlab(58.82, -23.45, 46.66)
CIE-LCHlch(58.82, 52.22, 116.68°)
OKLaboklab(63.7% -0.0677 0.1068)
OKLCHoklch(63.7% 0.126 122.4)
XYZxyz(20.3369, 26.8351, 7.5976)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9736 #4F3697
analogous
#977F36 #7E9736 #4D9736
triadic
#7E9736 #367E97 #97367E
tetradic
#7E9736 #36977F #4F3697 #97364D
square
#7E9736 #36977F #4F3697 #97364D
split-complementary
#7E9736 #364D97 #7F3697
monochromatic
#333D16 #586A26 #7E9736 #A1BF4B #B9CF78

Accessibility & contrast

On white

3.30
#7E9736 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#7E9736 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9736
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9736#FFFFFF#000000##000000
##7E97361.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E2A
Deuteranopia (green-blind)
#9C8D3D
Tritanopia (blue-blind)
#849083
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9736;
/* rgb */ color: rgb(126, 151, 54);
/* oklch */ color: oklch(63.7% 0.126 122.4);
Tailwind
colors: {
  custom: {
    50: '#a6b572',
    500: '#7e9736',
    950: '#000000',
  },
}
SCSS
$custom: #7e9736;
$custom-light: #a6b572;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9736",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 54
  },
  "hsl": {
    "h": 75.464,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63697,
    "c": 0.12644,
    "h": 122.4
  },
  "luminance": 0.26835
}

Semantic roles & 50–950 ramp

primary
#7E9736
secondary
#8371B8
accent
#51D773
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9736

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

Preview Lab → · Contrast checker → · Palette generator →

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