#4E7E31#4E7E31

#4E7E31 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.120 H 135.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E7E31
RGBrgb(78, 126, 49)
HSLhsl(97, 44%, 34%)
HSVhsv(97, 61%, 49%)
CMYKcmyk(38.1%, 0%, 61.1%, 50.6%)
CIE-LABlab(47.96, -30.87, 36.11)
CIE-LCHlch(47.96, 47.51, 130.53°)
OKLaboklab(54.09% -0.0856 0.0845)
OKLCHoklch(54.09% 0.12 135.4)
XYZxyz(11.1569, 16.7626, 5.5528)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E31 #61317E
analogous
#757E31 #4E7E31 #317E3B
triadic
#4E7E31 #314E7E #7E314E
tetradic
#4E7E31 #31757E #61317E #7E3B31
square
#4E7E31 #31757E #61317E #7E3B31
split-complementary
#4E7E31 #3B317E #7E3175
monochromatic
#17260F #335220 #4E7E31 #69AA42 #89C366

Accessibility & contrast

On white

4.82
#4E7E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4E7E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E31
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E31#FFFFFF#000000##FFFFFF
##4E7E311.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#7C7037
Tritanopia (blue-blind)
#4D796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e31;
/* rgb */ color: rgb(78, 126, 49);
/* oklch */ color: oklch(54.1% 0.120 135.4);
Tailwind
colors: {
  custom: {
    50: '#83a46c',
    500: '#4e7e31',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e31;
$custom-light: #83a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e31",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 97.403,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.12025,
    "h": 135.4
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#4E7E31
secondary
#8F60AB
accent
#54D4A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7E31

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

Preview Lab → · Contrast checker → · Palette generator →

#4E7E31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva