#4E5F31#4E5F31

#4E5F31 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.072 H 125.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4E5F31
RGBrgb(78, 95, 49)
HSLhsl(82, 32%, 28%)
HSVhsv(82, 48%, 37%)
CMYKcmyk(17.9%, 0%, 48.4%, 62.7%)
CIE-LABlab(37.89, -15.11, 24.12)
CIE-LCHlch(37.89, 28.46, 122.05°)
OKLaboklab(45.93% -0.0419 0.0583)
OKLCHoklch(45.93% 0.072 125.7)
XYZxyz(7.7884, 10.0258, 4.4300)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F31 #42315F
analogous
#5F5931 #4E5F31 #375F31
triadic
#4E5F31 #314E5F #5F314E
tetradic
#4E5F31 #315F59 #42315F #5F3137
square
#4E5F31 #315F59 #42315F #5F3137
split-complementary
#4E5F31 #31375F #59315F
monochromatic
#11140A #2D371C #4E5F31 #6F8746 #8FAC5E

Accessibility & contrast

On white

6.99
#4E5F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E5F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F31
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F31#FFFFFF#000000##FFFFFF
##4E5F311.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2D
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#515B54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f31;
/* rgb */ color: rgb(78, 95, 49);
/* oklch */ color: oklch(45.9% 0.072 125.7);
Tailwind
colors: {
  custom: {
    50: '#808c6a',
    500: '#4e5f31',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f31;
$custom-light: #808c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f31",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 82.174,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.07179,
    "h": 125.7
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#4E5F31
secondary
#6F5C90
accent
#60C886
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4E5F31

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

Preview Lab → · Contrast checker → · Palette generator →

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