#4E8B2B#4E8B2B

#4E8B2B is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.143 H 136.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E8B2B
RGBrgb(78, 139, 43)
HSLhsl(98, 53%, 36%)
HSVhsv(98, 69%, 55%)
CMYKcmyk(43.9%, 0%, 69.1%, 45.5%)
CIE-LABlab(52.13, -37.30, 43.44)
CIE-LCHlch(52.13, 57.26, 130.65°)
OKLaboklab(57.48% -0.1035 0.0993)
OKLCHoklch(57.48% 0.143 136.2)
XYZxyz(12.8102, 20.2586, 5.5203)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B2B #682B8B
analogous
#7E8B2B #4E8B2B #2B8B38
triadic
#4E8B2B #2B4E8B #8B2B4E
tetradic
#4E8B2B #2B7E8B #682B8B #8B382B
square
#4E8B2B #2B7E8B #682B8B #8B382B
split-complementary
#4E8B2B #382B8B #8B2B7E
monochromatic
#1A2E0E #345C1D #4E8B2B #68BA39 #8ACE62

Accessibility & contrast

On white

4.16
#4E8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E8B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B2B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B2B#FFFFFF#000000##000000
##4E8B2B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801E
Deuteranopia (green-blind)
#887A33
Tritanopia (blue-blind)
#4C8678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b2b;
/* rgb */ color: rgb(78, 139, 43);
/* oklch */ color: oklch(57.5% 0.143 136.2);
Tailwind
colors: {
  custom: {
    50: '#85ad6a',
    500: '#4e8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b2b;
$custom-light: #85ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b2b",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 98.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.14348,
    "h": 136.2
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#4E8B2B
secondary
#955DB5
accent
#4CDCA7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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