#4E7231#4E7231

#4E7231 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.102 H 133.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E7231
RGBrgb(78, 114, 49)
HSLhsl(93, 40%, 32%)
HSVhsv(93, 57%, 45%)
CMYKcmyk(31.6%, 0%, 57%, 55.3%)
CIE-LABlab(44.05, -25.09, 31.58)
CIE-LCHlch(44.05, 40.33, 128.46°)
OKLaboklab(50.91% -0.0697 0.0747)
OKLCHoklch(50.91% 0.102 133)
XYZxyz(9.7134, 13.8758, 5.0716)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7231 #553172
analogous
#6F7231 #4E7231 #317235
triadic
#4E7231 #314E72 #72314E
tetradic
#4E7231 #316F72 #553172 #723531
square
#4E7231 #316F72 #553172 #723531
split-complementary
#4E7231 #353172 #72316F
monochromatic
#131C0C #31471F #4E7231 #6B9D43 #8ABB62

Accessibility & contrast

On white

5.56
#4E7231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E7231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7231
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7231#FFFFFF#000000##FFFFFF
##4E72311.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#4F6E63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7231;
/* rgb */ color: rgb(78, 114, 49);
/* oklch */ color: oklch(50.9% 0.102 133.0);
Tailwind
colors: {
  custom: {
    50: '#829b6b',
    500: '#4e7231',
    950: '#000000',
  },
}
SCSS
$custom: #4e7231;
$custom-light: #829b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7231",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 93.231,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50912,
    "c": 0.10216,
    "h": 133
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#4E7231
secondary
#835CA3
accent
#58D09A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7231

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

Preview Lab → · Contrast checker → · Palette generator →

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