#4E8E2B#4E8E2B

#4E8E2B is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.3% C 0.148 H 136.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E8E2B
RGBrgb(78, 142, 43)
HSLhsl(99, 54%, 36%)
HSVhsv(99, 70%, 56%)
CMYKcmyk(45.1%, 0%, 69.7%, 44.3%)
CIE-LABlab(53.10, -38.59, 44.47)
CIE-LCHlch(53.10, 58.88, 130.95°)
OKLaboklab(58.28% -0.1071 0.1015)
OKLCHoklch(58.28% 0.148 136.5)
XYZxyz(13.2506, 21.1393, 5.6671)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E2B #6B2B8E
analogous
#808E2B #4E8E2B #2B8E3A
triadic
#4E8E2B #2B4E8E #8E2B4E
tetradic
#4E8E2B #2B808E #6B2B8E #8E3A2B
square
#4E8E2B #2B808E #6B2B8E #8E3A2B
split-complementary
#4E8E2B #3A2B8E #8E2B80
monochromatic
#1A300F #345F1D #4E8E2B #68BD39 #8AD063

Accessibility & contrast

On white

4.02
#4E8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4E8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E2B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E2B#FFFFFF#000000##000000
##4E8E2B1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e2b;
/* rgb */ color: rgb(78, 142, 43);
/* oklch */ color: oklch(58.3% 0.148 136.5);
Tailwind
colors: {
  custom: {
    50: '#85af6a',
    500: '#4e8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e2b;
$custom-light: #85af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e2b",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 98.788,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58276,
    "c": 0.14751,
    "h": 136.5
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

primary
#4E8E2B
secondary
#975FB6
accent
#4BDDA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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