#4E7A2B#4E7A2B

#4E7A2B is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.0% C 0.120 H 133.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E7A2B
RGBrgb(78, 122, 43)
HSLhsl(93, 48%, 32%)
HSVhsv(93, 65%, 48%)
CMYKcmyk(36.1%, 0%, 64.8%, 52.2%)
CIE-LABlab(46.60, -29.61, 37.45)
CIE-LCHlch(46.60, 47.75, 128.33°)
OKLaboklab(52.96% -0.0826 0.0867)
OKLCHoklch(52.96% 0.12 133.6)
XYZxyz(10.5373, 15.7128, 4.7627)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A2B #572B7A
analogous
#767A2B #4E7A2B #2B7A30
triadic
#4E7A2B #2B4E7A #7A2B4E
tetradic
#4E7A2B #2B767A #572B7A #7A302B
square
#4E7A2B #2B767A #572B7A #7A302B
split-complementary
#4E7A2B #302B7A #7A2B76
monochromatic
#141F0B #314D1B #4E7A2B #6BA73B #8AC55A

Accessibility & contrast

On white

5.07
#4E7A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4E7A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A2B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A2B#FFFFFF#000000##FFFFFF
##4E7A2B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#4E7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a2b;
/* rgb */ color: rgb(78, 122, 43);
/* oklch */ color: oklch(53.0% 0.120 133.6);
Tailwind
colors: {
  custom: {
    50: '#83a168',
    500: '#4e7a2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a2b;
$custom-light: #83a168;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a2b",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 93.418,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.11973,
    "h": 133.6
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#4E7A2B
secondary
#8556AB
accent
#50D79C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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