#7E9232#7E9232

#7E9232 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.5% C 0.123 H 120.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7E9232
RGBrgb(126, 146, 50)
HSLhsl(73, 49%, 38%)
HSVhsv(73, 66%, 57%)
CMYKcmyk(13.7%, 0%, 65.8%, 42.7%)
CIE-LABlab(57.29, -21.23, 46.78)
CIE-LCHlch(57.29, 51.37, 114.41°)
OKLaboklab(62.46% -0.0619 0.1065)
OKLCHoklch(62.46% 0.123 120.2)
XYZxyz(19.4591, 25.2237, 6.8605)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9232 #463292
analogous
#927632 #7E9232 #4E9232
triadic
#7E9232 #327E92 #92327E
tetradic
#7E9232 #329276 #463292 #92324E
square
#7E9232 #329276 #463292 #92324E
split-complementary
#7E9232 #324E92 #763292
monochromatic
#2F3713 #576422 #7E9232 #A5BF43 #BBCE70

Accessibility & contrast

On white

3.47
#7E9232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7E9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9232
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9232#FFFFFF#000000##000000
##7E92321.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A25
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#858A7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e9232;
/* rgb */ color: rgb(126, 146, 50);
/* oklch */ color: oklch(62.5% 0.123 120.2);
Tailwind
colors: {
  custom: {
    50: '#a6b26f',
    500: '#7e9232',
    950: '#000000',
  },
}
SCSS
$custom: #7e9232;
$custom-light: #a6b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9232",
  "rgb": {
    "r": 126,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 72.5,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62455,
    "c": 0.12316,
    "h": 120.2
  },
  "luminance": 0.25224
}

Semantic roles & 50–950 ramp

primary
#7E9232
secondary
#7A6AB6
accent
#4FD96C
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #7E9232

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

Preview Lab → · Contrast checker → · Palette generator →

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