#4E8C2B#4E8C2B

#4E8C2B is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.145 H 136.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E8C2B
RGBrgb(78, 140, 43)
HSLhsl(98, 53%, 36%)
HSVhsv(98, 69%, 55%)
CMYKcmyk(44.3%, 0%, 69.3%, 45.1%)
CIE-LABlab(52.45, -37.73, 43.78)
CIE-LCHlch(52.45, 57.80, 130.76°)
OKLaboklab(57.75% -0.1047 0.1001)
OKLCHoklch(57.75% 0.145 136.3)
XYZxyz(12.9557, 20.5495, 5.5688)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C2B #692B8C
analogous
#7E8C2B #4E8C2B #2B8C39
triadic
#4E8C2B #2B4E8C #8C2B4E
tetradic
#4E8C2B #2B7E8C #692B8C #8C392B
square
#4E8C2B #2B7E8C #692B8C #8C392B
split-complementary
#4E8C2B #392B8C #8C2B7E
monochromatic
#1A2E0E #345D1D #4E8C2B #68BB39 #8ACF62

Accessibility & contrast

On white

4.11
#4E8C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E8C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C2B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C2B#FFFFFF#000000##000000
##4E8C2B1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801D
Deuteranopia (green-blind)
#897B34
Tritanopia (blue-blind)
#4B8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c2b;
/* rgb */ color: rgb(78, 140, 43);
/* oklch */ color: oklch(57.7% 0.145 136.3);
Tailwind
colors: {
  custom: {
    50: '#85ae6a',
    500: '#4e8c2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c2b;
$custom-light: #85ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c2b",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 98.351,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57745,
    "c": 0.14484,
    "h": 136.3
  },
  "luminance": 0.2055
}

Semantic roles & 50–950 ramp

primary
#4E8C2B
secondary
#965EB5
accent
#4BDCA8
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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