#7E962B#7E962B

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

Color values

HEX#7E962B
RGBrgb(126, 150, 43)
HSLhsl(73, 55%, 38%)
HSVhsv(73, 71%, 59%)
CMYKcmyk(16%, 0%, 71.3%, 41.2%)
CIE-LABlab(58.44, -23.71, 50.84)
CIE-LCHlch(58.44, 56.10, 115.00°)
OKLaboklab(63.36% -0.0694 0.114)
OKLCHoklch(63.36% 0.133 121.4)
XYZxyz(19.9469, 26.4227, 6.3343)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E962B #432B96
analogous
#96782B #7E962B #48962B
triadic
#7E962B #2B7E96 #962B7E
tetradic
#7E962B #2B9678 #432B96 #962B48
square
#7E962B #2B9678 #432B96 #962B48
split-complementary
#7E962B #2B4896 #782B96
monochromatic
#2E3710 #56661D #7E962B #A6C639 #BBD468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E962B#FFFFFF#000000##000000
##7E962B1.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)
#9F8D19
Deuteranopia (green-blind)
#9C8D34
Tritanopia (blue-blind)
#858E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e962b;
/* rgb */ color: rgb(126, 150, 43);
/* oklch */ color: oklch(63.4% 0.133 121.4);
Tailwind
colors: {
  custom: {
    50: '#a6b46b',
    500: '#7e962b',
    950: '#000000',
  },
}
SCSS
$custom: #7e962b;
$custom-light: #a6b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e962b",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 73.458,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63359,
    "c": 0.13345,
    "h": 121.4
  },
  "luminance": 0.26423
}

Semantic roles & 50–950 ramp

primary
#7E962B
secondary
#7663BA
accent
#49DF6B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E962B

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

Preview Lab → · Contrast checker → · Palette generator →

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