#7E9531#7E9531

#7E9531 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.2% C 0.128 H 121.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7E9531
RGBrgb(126, 149, 49)
HSLhsl(74, 51%, 39%)
HSVhsv(74, 67%, 58%)
CMYKcmyk(15.4%, 0%, 67.1%, 41.6%)
CIE-LABlab(58.18, -22.82, 48.15)
CIE-LCHlch(58.18, 53.28, 115.36°)
OKLaboklab(63.17% -0.0664 0.1092)
OKLCHoklch(63.17% 0.128 121.3)
XYZxyz(19.9063, 26.1523, 6.9043)
Luminance0.2615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9531 #483195
analogous
#957A31 #7E9531 #4C9531
triadic
#7E9531 #317E95 #95317E
tetradic
#7E9531 #31957A #483195 #95314C
square
#7E9531 #31957A #483195 #95314C
split-complementary
#7E9531 #314C95 #7A3195
monochromatic
#303913 #576722 #7E9531 #A4C142 #BAD070

Accessibility & contrast

On white

3.37
#7E9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7E9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9531
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9531#FFFFFF#000000##000000
##7E95311.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#858D81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9531;
/* rgb */ color: rgb(126, 149, 49);
/* oklch */ color: oklch(63.2% 0.128 121.3);
Tailwind
colors: {
  custom: {
    50: '#a6b46f',
    500: '#7e9531',
    950: '#000000',
  },
}
SCSS
$custom: #7e9531;
$custom-light: #a6b46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9531",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 73.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63168,
    "c": 0.12781,
    "h": 121.3
  },
  "luminance": 0.26152
}

Semantic roles & 50–950 ramp

primary
#7E9531
secondary
#7C6AB8
accent
#4EDA6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9531

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

Preview Lab → · Contrast checker → · Palette generator →

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