#7E9331#7E9331

#7E9331 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.7% C 0.125 H 120.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7E9331
RGBrgb(126, 147, 49)
HSLhsl(73, 50%, 38%)
HSVhsv(73, 67%, 58%)
CMYKcmyk(14.3%, 0%, 66.7%, 42.4%)
CIE-LABlab(57.58, -21.81, 47.52)
CIE-LCHlch(57.58, 52.28, 114.65°)
OKLaboklab(62.69% -0.0636 0.1079)
OKLCHoklch(62.69% 0.125 120.5)
XYZxyz(19.5926, 25.5249, 6.7998)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9331 #463193
analogous
#937731 #7E9331 #4D9331
triadic
#7E9331 #317E93 #93317E
tetradic
#7E9331 #319377 #463193 #93314D
square
#7E9331 #319377 #463193 #93314D
split-complementary
#7E9331 #314D93 #773193
monochromatic
#2F3712 #576522 #7E9331 #A5C041 #BBCF6F

Accessibility & contrast

On white

3.44
#7E9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7E9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9331
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9331#FFFFFF#000000##000000
##7E93311.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B24
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#858B7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e9331;
/* rgb */ color: rgb(126, 147, 49);
/* oklch */ color: oklch(62.7% 0.125 120.5);
Tailwind
colors: {
  custom: {
    50: '#a6b26e',
    500: '#7e9331',
    950: '#000000',
  },
}
SCSS
$custom: #7e9331;
$custom-light: #a6b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9331",
  "rgb": {
    "r": 126,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 72.857,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62686,
    "c": 0.12524,
    "h": 120.5
  },
  "luminance": 0.25525
}

Semantic roles & 50–950 ramp

primary
#7E9331
secondary
#7A69B7
accent
#4EDA6C
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9331

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

Preview Lab → · Contrast checker → · Palette generator →

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