#4E5C17#4E5C17

#4E5C17 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.8% C 0.093 H 120.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4E5C17
RGBrgb(78, 92, 23)
HSLhsl(72, 60%, 23%)
HSVhsv(72, 75%, 36%)
CMYKcmyk(15.2%, 0%, 75%, 63.9%)
CIE-LABlab(36.62, -16.01, 35.95)
CIE-LCHlch(36.62, 39.36, 114.01°)
OKLaboklab(44.82% -0.0471 0.0806)
OKLCHoklch(44.82% 0.093 120.3)
XYZxyz(7.1238, 9.3359, 2.2372)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C17 #25175C
analogous
#5C4817 #4E5C17 #2B5C17
triadic
#4E5C17 #174E5C #5C174E
tetradic
#4E5C17 #175C48 #25175C #5C172B
square
#4E5C17 #175C48 #25175C #5C172B
split-complementary
#4E5C17 #172B5C #48175C
monochromatic
#151806 #242B0B #4E5C17 #788D23 #A1BE2F

Accessibility & contrast

On white

7.32
#4E5C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E5C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5C17
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C17#FFFFFF#000000##FFFFFF
##4E5C171.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560C
Deuteranopia (green-blind)
#60561D
Tritanopia (blue-blind)
#53574E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5c17;
/* rgb */ color: rgb(78, 92, 23);
/* oklch */ color: oklch(44.8% 0.093 120.3);
Tailwind
colors: {
  custom: {
    50: '#828a59',
    500: '#4e5c17',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c17;
$custom-light: #828a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c17",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 72.174,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44817,
    "c": 0.09331,
    "h": 120.3
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#4E5C17
secondary
#4E3C93
accent
#45E365
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5C17

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

Preview Lab → · Contrast checker → · Palette generator →

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