#4E7E2B#4E7E2B

#4E7E2B is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.125 H 134.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4E7E2B
RGBrgb(78, 126, 43)
HSLhsl(95, 49%, 33%)
HSVhsv(95, 66%, 49%)
CMYKcmyk(38.1%, 0%, 65.9%, 50.6%)
CIE-LABlab(47.90, -31.48, 38.89)
CIE-LCHlch(47.90, 50.03, 128.99°)
OKLaboklab(54.02% -0.0877 0.0897)
OKLCHoklch(54.02% 0.125 134.4)
XYZxyz(11.0386, 16.7153, 4.9298)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E2B #5B2B7E
analogous
#777E2B #4E7E2B #2B7E32
triadic
#4E7E2B #2B4E7E #7E2B4E
tetradic
#4E7E2B #2B777E #5B2B7E #7E322B
square
#4E7E2B #2B777E #5B2B7E #7E322B
split-complementary
#4E7E2B #322B7E #7E2B77
monochromatic
#16230C #32501B #4E7E2B #6AAC3B #89C75C

Accessibility & contrast

On white

4.84
#4E7E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4E7E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E2B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E2B#FFFFFF#000000##FFFFFF
##4E7E2B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#4E796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e2b;
/* rgb */ color: rgb(78, 126, 43);
/* oklch */ color: oklch(54.0% 0.125 134.4);
Tailwind
colors: {
  custom: {
    50: '#83a468',
    500: '#4e7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e2b;
$custom-light: #83a468;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e2b",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 94.699,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.12547,
    "h": 134.4
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#4E7E2B
secondary
#8958AD
accent
#4FD99F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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