#4E5F2A#4E5F2A

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

Color values

HEX#4E5F2A
RGBrgb(78, 95, 42)
HSLhsl(79, 39%, 27%)
HSVhsv(79, 56%, 37%)
CMYKcmyk(17.9%, 0%, 55.8%, 62.7%)
CIE-LABlab(37.79, -15.96, 27.90)
CIE-LCHlch(37.79, 32.14, 119.77°)
OKLaboklab(45.82% -0.0449 0.066)
OKLCHoklch(45.82% 0.08 124.2)
XYZxyz(7.6520, 9.9712, 3.7115)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F2A #3B2A5F
analogous
#5F562A #4E5F2A #345F2A
triadic
#4E5F2A #2A4E5F #5F2A4E
tetradic
#4E5F2A #2A5F56 #3B2A5F #5F2A34
square
#4E5F2A #2A5F56 #3B2A5F #5F2A34
split-complementary
#4E5F2A #2A345F #562A5F
monochromatic
#111509 #2B3517 #4E5F2A #71893D #93B251

Accessibility & contrast

On white

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

On black

2.99
#4E5F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E5F2A#FFFFFF#000000##FFFFFF
##4E5F2A1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645925
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#515B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f2a;
/* rgb */ color: rgb(78, 95, 42);
/* oklch */ color: oklch(45.8% 0.080 124.2);
Tailwind
colors: {
  custom: {
    50: '#818c65',
    500: '#4e5f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f2a;
$custom-light: #818c65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f2a",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 79.245,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.07987,
    "h": 124.2
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#4E5F2A
secondary
#675391
accent
#59CF7F
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4E5F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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