#4E8B2C#4E8B2C

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

Color values

HEX#4E8B2C
RGBrgb(78, 139, 44)
HSLhsl(99, 52%, 36%)
HSVhsv(99, 68%, 55%)
CMYKcmyk(43.9%, 0%, 68.3%, 45.5%)
CIE-LABlab(52.14, -37.21, 43.02)
CIE-LCHlch(52.14, 56.88, 130.86°)
OKLaboklab(57.49% -0.1032 0.0986)
OKLCHoklch(57.49% 0.143 136.3)
XYZxyz(12.8288, 20.2660, 5.6181)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B2C #692C8B
analogous
#7D8B2C #4E8B2C #2C8B39
triadic
#4E8B2C #2C4E8B #8B2C4E
tetradic
#4E8B2C #2C7D8B #692C8B #8B392C
square
#4E8B2C #2C7D8B #692C8B #8B392C
split-complementary
#4E8B2C #392C8B #8B2C7D
monochromatic
#1A2E0F #345D1D #4E8B2C #68B93B #8ACE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8B2C#FFFFFF#000000##000000
##4E8B2C1.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)
#90801F
Deuteranopia (green-blind)
#887A34
Tritanopia (blue-blind)
#4C8678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b2c;
/* rgb */ color: rgb(78, 139, 44);
/* oklch */ color: oklch(57.5% 0.143 136.3);
Tailwind
colors: {
  custom: {
    50: '#85ad6a',
    500: '#4e8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b2c;
$custom-light: #85ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b2c",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 98.526,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.14274,
    "h": 136.3
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#4E8B2C
secondary
#965FB4
accent
#4CDBA8
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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