#4E5F27#4E5F27

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

Color values

HEX#4E5F27
RGBrgb(78, 95, 39)
HSLhsl(78, 42%, 26%)
HSVhsv(78, 59%, 37%)
CMYKcmyk(17.9%, 0%, 58.9%, 62.7%)
CIE-LABlab(37.75, -16.29, 29.46)
CIE-LCHlch(37.75, 33.66, 118.94°)
OKLaboklab(45.78% -0.0461 0.0691)
OKLCHoklch(45.78% 0.083 123.7)
XYZxyz(7.6003, 9.9506, 3.4393)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F27 #38275F
analogous
#5F5427 #4E5F27 #325F27
triadic
#4E5F27 #274E5F #5F274E
tetradic
#4E5F27 #275F54 #38275F #5F2732
square
#4E5F27 #275F54 #38275F #5F2732
split-complementary
#4E5F27 #27325F #54275F
monochromatic
#121609 #2A3415 #4E5F27 #728A39 #95B54B

Accessibility & contrast

On white

7.02
#4E5F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5F27
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F27#FFFFFF#000000##FFFFFF
##4E5F271.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5f27;
/* rgb */ color: rgb(78, 95, 39);
/* oklch */ color: oklch(45.8% 0.083 123.7);
Tailwind
colors: {
  custom: {
    50: '#818c63',
    500: '#4e5f27',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f27;
$custom-light: #818c63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f27",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 39
  },
  "hsl": {
    "h": 78.214,
    "s": 41.791,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.0831,
    "h": 123.7
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#4E5F27
secondary
#645092
accent
#56D27C
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C05
muted
#7C7D7A

Preview Lab

Preview with #4E5F27

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

Preview Lab → · Contrast checker → · Palette generator →

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