#7E9327#7E9327

#7E9327 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.6% C 0.132 H 120.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7E9327
RGBrgb(126, 147, 39)
HSLhsl(72, 58%, 36%)
HSVhsv(72, 73%, 58%)
CMYKcmyk(14.3%, 0%, 73.5%, 42.4%)
CIE-LABlab(57.51, -22.44, 51.45)
CIE-LCHlch(57.51, 56.13, 113.57°)
OKLaboklab(62.61% -0.0663 0.1146)
OKLCHoklch(62.61% 0.132 120.1)
XYZxyz(19.4045, 25.4496, 5.8091)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9327 #3C2793
analogous
#937227 #7E9327 #489327
triadic
#7E9327 #277E93 #93277E
tetradic
#7E9327 #279372 #3C2793 #932748
square
#7E9327 #279372 #3C2793 #932748
split-complementary
#7E9327 #274893 #722793
monochromatic
#2B320D #55631A #7E9327 #A7C334 #BED560

Accessibility & contrast

On white

3.45
#7E9327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7E9327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9327
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9327#FFFFFF#000000##000000
##7E93271.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A13
Deuteranopia (green-blind)
#9A8A30
Tritanopia (blue-blind)
#858B7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e9327;
/* rgb */ color: rgb(126, 147, 39);
/* oklch */ color: oklch(62.6% 0.132 120.1);
Tailwind
colors: {
  custom: {
    50: '#a6b269',
    500: '#7e9327',
    950: '#000000',
  },
}
SCSS
$custom: #7e9327;
$custom-light: #a6b269;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9327",
  "rgb": {
    "r": 126,
    "g": 147,
    "b": 39
  },
  "hsl": {
    "h": 71.667,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62605,
    "c": 0.13237,
    "h": 120.1
  },
  "luminance": 0.2545
}

Semantic roles & 50–950 ramp

primary
#7E9327
secondary
#6E5CBA
accent
#47E165
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9327

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

Preview Lab → · Contrast checker → · Palette generator →

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