#7E962A#7E962A

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

Color values

HEX#7E962A
RGBrgb(126, 150, 42)
HSLhsl(73, 56%, 38%)
HSVhsv(73, 72%, 59%)
CMYKcmyk(16%, 0%, 72%, 41.2%)
CIE-LABlab(58.43, -23.77, 51.22)
CIE-LCHlch(58.43, 56.47, 114.90°)
OKLaboklab(63.35% -0.0697 0.1146)
OKLCHoklch(63.35% 0.134 121.3)
XYZxyz(19.9288, 26.4155, 6.2389)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E962A #422A96
analogous
#96782A #7E962A #48962A
triadic
#7E962A #2A7E96 #962A7E
tetradic
#7E962A #2A9678 #422A96 #962A48
square
#7E962A #2A9678 #422A96 #962A48
split-complementary
#7E962A #2A4896 #782A96
monochromatic
#2E360F #56661D #7E962A #A6C637 #BCD466

Accessibility & contrast

On white

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

On black

6.28
#7E962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E962A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E962A#FFFFFF#000000##000000
##7E962A1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D18
Deuteranopia (green-blind)
#9C8D33
Tritanopia (blue-blind)
#858E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e962a;
/* rgb */ color: rgb(126, 150, 42);
/* oklch */ color: oklch(63.4% 0.134 121.3);
Tailwind
colors: {
  custom: {
    50: '#a6b46b',
    500: '#7e962a',
    950: '#000000',
  },
}
SCSS
$custom: #7e962a;
$custom-light: #a6b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e962a",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 73.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.13412,
    "h": 121.3
  },
  "luminance": 0.26415
}

Semantic roles & 50–950 ramp

primary
#7E962A
secondary
#7561BA
accent
#48E06A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E962A

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

Preview Lab → · Contrast checker → · Palette generator →

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