#4E5F20#4E5F20

#4E5F20 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.090 H 122.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4E5F20
RGBrgb(78, 95, 32)
HSLhsl(76, 50%, 25%)
HSVhsv(76, 66%, 37%)
CMYKcmyk(17.9%, 0%, 66.3%, 62.7%)
CIE-LABlab(37.68, -16.96, 32.93)
CIE-LCHlch(37.68, 37.04, 117.25°)
OKLaboklab(45.69% -0.0488 0.0756)
OKLCHoklch(45.69% 0.09 122.8)
XYZxyz(7.4949, 9.9084, 2.8839)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F20 #31205F
analogous
#5F5020 #4E5F20 #2F5F20
triadic
#4E5F20 #204E5F #5F204E
tetradic
#4E5F20 #205F50 #31205F #5F202F
square
#4E5F20 #205F50 #31205F #5F202F
split-complementary
#4E5F20 #202F5F #50205F
monochromatic
#131708 #283111 #4E5F20 #748D2F #99BB3F

Accessibility & contrast

On white

7.04
#4E5F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E5F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5F20
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F20#FFFFFF#000000##FFFFFF
##4E5F201.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655918
Deuteranopia (green-blind)
#625924
Tritanopia (blue-blind)
#525A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f20;
/* rgb */ color: rgb(78, 95, 32);
/* oklch */ color: oklch(45.7% 0.090 122.8);
Tailwind
colors: {
  custom: {
    50: '#818c5f',
    500: '#4e5f20',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f20;
$custom-light: #818c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f20",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 76.19,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.08999,
    "h": 122.8
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#4E5F20
secondary
#5C4793
accent
#4FD974
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E5F20

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

Preview Lab → · Contrast checker → · Palette generator →

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