#7E9237#7E9237

#7E9237 is a light, moderate yellow-green. Relative luminance 0.253; OKLCH L 62.5% C 0.119 H 120.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7E9237
RGBrgb(126, 146, 55)
HSLhsl(73, 45%, 39%)
HSVhsv(73, 62%, 57%)
CMYKcmyk(13.7%, 0%, 62.3%, 42.7%)
CIE-LABlab(57.34, -20.84, 44.60)
CIE-LCHlch(57.34, 49.23, 115.05°)
OKLaboklab(62.5% -0.0603 0.1026)
OKLCHoklch(62.5% 0.119 120.4)
XYZxyz(19.5729, 25.2693, 7.4600)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9237 #4B3792
analogous
#927937 #7E9237 #519237
triadic
#7E9237 #377E92 #92377E
tetradic
#7E9237 #379279 #4B3792 #923751
square
#7E9237 #379279 #4B3792 #923751
split-complementary
#7E9237 #375192 #793792
monochromatic
#313916 #586626 #7E9237 #A3BB4B #B9CC77

Accessibility & contrast

On white

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

On black

6.05
#7E9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9237
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9237#FFFFFF#000000##000000
##7E92371.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2C
Deuteranopia (green-blind)
#988A3D
Tritanopia (blue-blind)
#858B7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e9237;
/* rgb */ color: rgb(126, 146, 55);
/* oklch */ color: oklch(62.5% 0.119 120.4);
Tailwind
colors: {
  custom: {
    50: '#a6b272',
    500: '#7e9237',
    950: '#000000',
  },
}
SCSS
$custom: #7e9237;
$custom-light: #a6b272;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9237",
  "rgb": {
    "r": 126,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 73.187,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62504,
    "c": 0.119,
    "h": 120.4
  },
  "luminance": 0.25269
}

Semantic roles & 50–950 ramp

primary
#7E9237
secondary
#7F70B5
accent
#53D56F
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #7E9237

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

Preview Lab → · Contrast checker → · Palette generator →

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