#4E8D2B#4E8D2B

#4E8D2B is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.146 H 136.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4E8D2B
RGBrgb(78, 141, 43)
HSLhsl(99, 53%, 36%)
HSVhsv(99, 70%, 55%)
CMYKcmyk(44.7%, 0%, 69.5%, 44.7%)
CIE-LABlab(52.78, -38.16, 44.13)
CIE-LCHlch(52.78, 58.34, 130.86°)
OKLaboklab(58.01% -0.1059 0.1008)
OKLCHoklch(58.01% 0.146 136.4)
XYZxyz(13.1024, 20.8431, 5.6178)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D2B #6A2B8D
analogous
#7F8D2B #4E8D2B #2B8D39
triadic
#4E8D2B #2B4E8D #8D2B4E
tetradic
#4E8D2B #2B7F8D #6A2B8D #8D392B
square
#4E8D2B #2B7F8D #6A2B8D #8D392B
split-complementary
#4E8D2B #392B8D #8D2B7F
monochromatic
#1A2F0E #345E1D #4E8D2B #68BC39 #8ACF63

Accessibility & contrast

On white

4.06
#4E8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4E8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D2B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D2B#FFFFFF#000000##000000
##4E8D2B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d2b;
/* rgb */ color: rgb(78, 141, 43);
/* oklch */ color: oklch(58.0% 0.146 136.4);
Tailwind
colors: {
  custom: {
    50: '#85af6a',
    500: '#4e8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d2b;
$custom-light: #85af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d2b",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 98.571,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.14618,
    "h": 136.4
  },
  "luminance": 0.20844
}

Semantic roles & 50–950 ramp

primary
#4E8D2B
secondary
#965EB6
accent
#4BDDA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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