#4E5F2B#4E5F2B

#4E5F2B is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.079 H 124.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4E5F2B
RGBrgb(78, 95, 43)
HSLhsl(80, 38%, 27%)
HSVhsv(80, 55%, 37%)
CMYKcmyk(17.9%, 0%, 54.7%, 62.7%)
CIE-LABlab(37.80, -15.84, 27.37)
CIE-LCHlch(37.80, 31.62, 120.07°)
OKLaboklab(45.83% -0.0445 0.065)
OKLCHoklch(45.83% 0.079 124.4)
XYZxyz(7.6701, 9.9785, 3.8070)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F2B #3C2B5F
analogous
#5F562B #4E5F2B #345F2B
triadic
#4E5F2B #2B4E5F #5F2B4E
tetradic
#4E5F2B #2B5F56 #3C2B5F #5F2B34
square
#4E5F2B #2B5F56 #3C2B5F #5F2B34
split-complementary
#4E5F2B #2B345F #562B5F
monochromatic
#11150A #2B3518 #4E5F2B #71893E #92B153

Accessibility & contrast

On white

7.01
#4E5F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E5F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F2B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F2B#FFFFFF#000000##FFFFFF
##4E5F2B1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A26
Deuteranopia (green-blind)
#62592E
Tritanopia (blue-blind)
#515B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f2b;
/* rgb */ color: rgb(78, 95, 43);
/* oklch */ color: oklch(45.8% 0.079 124.4);
Tailwind
colors: {
  custom: {
    50: '#818c66',
    500: '#4e5f2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f2b;
$custom-light: #818c66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f2b",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 79.615,
    "s": 37.681,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45834,
    "c": 0.07877,
    "h": 124.4
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#4E5F2B
secondary
#685591
accent
#5ACE80
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4E5F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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