#4E5F2C#4E5F2C

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

Color values

HEX#4E5F2C
RGBrgb(78, 95, 44)
HSLhsl(80, 37%, 27%)
HSVhsv(80, 54%, 37%)
CMYKcmyk(17.9%, 0%, 53.7%, 62.7%)
CIE-LABlab(37.82, -15.73, 26.83)
CIE-LCHlch(37.82, 31.10, 120.38°)
OKLaboklab(45.85% -0.0441 0.0639)
OKLCHoklch(45.85% 0.078 124.6)
XYZxyz(7.6887, 9.9859, 3.9048)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F2C #3D2C5F
analogous
#5F572C #4E5F2C #355F2C
triadic
#4E5F2C #2C4E5F #5F2C4E
tetradic
#4E5F2C #2C5F57 #3D2C5F #5F2C35
square
#4E5F2C #2C5F57 #3D2C5F #5F2C35
split-complementary
#4E5F2C #2C355F #572C5F
monochromatic
#11150A #2C3519 #4E5F2C #70893F #92B055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5F2C#FFFFFF#000000##FFFFFF
##4E5F2C1.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)
#645A27
Deuteranopia (green-blind)
#61592F
Tritanopia (blue-blind)
#515B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f2c;
/* rgb */ color: rgb(78, 95, 44);
/* oklch */ color: oklch(45.8% 0.078 124.6);
Tailwind
colors: {
  custom: {
    50: '#818c66',
    500: '#4e5f2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f2c;
$custom-light: #818c66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f2c",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 80,
    "s": 36.691,
    "l": 27.255
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.07763,
    "h": 124.6
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#4E5F2C
secondary
#6A5691
accent
#5BCD81
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4E5F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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