#7E962F#7E962F

#7E962F is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.4% C 0.131 H 121.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7E962F
RGBrgb(126, 150, 47)
HSLhsl(74, 52%, 39%)
HSVhsv(74, 69%, 59%)
CMYKcmyk(16%, 0%, 68.7%, 41.2%)
CIE-LABlab(58.47, -23.46, 49.27)
CIE-LCHlch(58.47, 54.57, 115.46°)
OKLaboklab(63.39% -0.0684 0.1113)
OKLCHoklch(63.39% 0.131 121.6)
XYZxyz(20.0239, 26.4535, 6.7399)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E962F #472F96
analogous
#967A2F #7E962F #4A962F
triadic
#7E962F #2F7E96 #962F7E
tetradic
#7E962F #2F967A #472F96 #962F4A
square
#7E962F #2F967A #472F96 #962F4A
split-complementary
#7E962F #2F4A96 #7A2F96
monochromatic
#303912 #576720 #7E962F #A4C33F #BAD26E

Accessibility & contrast

On white

3.34
#7E962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7E962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E962F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E962F#FFFFFF#000000##000000
##7E962F1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D20
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#858E81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e962f;
/* rgb */ color: rgb(126, 150, 47);
/* oklch */ color: oklch(63.4% 0.131 121.6);
Tailwind
colors: {
  custom: {
    50: '#a6b46e',
    500: '#7e962f',
    950: '#000000',
  },
}
SCSS
$custom: #7e962f;
$custom-light: #a6b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e962f",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 73.981,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63391,
    "c": 0.1306,
    "h": 121.6
  },
  "luminance": 0.26454
}

Semantic roles & 50–950 ramp

primary
#7E962F
secondary
#7B68B9
accent
#4CDC6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E962F

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

Preview Lab → · Contrast checker → · Palette generator →

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