#7E962E#7E962E

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

Color values

HEX#7E962E
RGBrgb(126, 150, 46)
HSLhsl(74, 53%, 38%)
HSVhsv(74, 69%, 59%)
CMYKcmyk(16%, 0%, 69.3%, 41.2%)
CIE-LABlab(58.46, -23.52, 49.67)
CIE-LCHlch(58.46, 54.96, 115.34°)
OKLaboklab(63.38% -0.0686 0.112)
OKLCHoklch(63.38% 0.131 121.5)
XYZxyz(20.0040, 26.4456, 6.6349)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E962E #462E96
analogous
#967A2E #7E962E #4A962E
triadic
#7E962E #2E7E96 #962E7E
tetradic
#7E962E #2E967A #462E96 #962E4A
square
#7E962E #2E967A #462E96 #962E4A
split-complementary
#7E962E #2E4A96 #7A2E96
monochromatic
#2F3811 #576720 #7E962E #A5C43E #BBD26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E962E#FFFFFF#000000##000000
##7E962E1.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)
#9F8D1E
Deuteranopia (green-blind)
#9C8D36
Tritanopia (blue-blind)
#858E81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e962e;
/* rgb */ color: rgb(126, 150, 46);
/* oklch */ color: oklch(63.4% 0.131 121.5);
Tailwind
colors: {
  custom: {
    50: '#a6b46d',
    500: '#7e962e',
    950: '#000000',
  },
}
SCSS
$custom: #7e962e;
$custom-light: #a6b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e962e",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 73.846,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63383,
    "c": 0.13133,
    "h": 121.5
  },
  "luminance": 0.26446
}

Semantic roles & 50–950 ramp

primary
#7E962E
secondary
#7A67B9
accent
#4BDC6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E962E

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

Preview Lab → · Contrast checker → · Palette generator →

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