#4E7B2B#4E7B2B

#4E7B2B is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.121 H 133.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E7B2B
RGBrgb(78, 123, 43)
HSLhsl(94, 48%, 33%)
HSVhsv(94, 65%, 48%)
CMYKcmyk(36.6%, 0%, 65%, 51.8%)
CIE-LABlab(46.92, -30.08, 37.81)
CIE-LCHlch(46.92, 48.32, 128.50°)
OKLaboklab(53.22% -0.0839 0.0875)
OKLCHoklch(53.22% 0.121 133.8)
XYZxyz(10.6607, 15.9596, 4.8038)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B2B #582B7B
analogous
#767B2B #4E7B2B #2B7B30
triadic
#4E7B2B #2B4E7B #7B2B4E
tetradic
#4E7B2B #2B767B #582B7B #7B302B
square
#4E7B2B #2B767B #582B7B #7B302B
split-complementary
#4E7B2B #302B7B #7B2B76
monochromatic
#14200B #314E1B #4E7B2B #6BA83B #8AC65B

Accessibility & contrast

On white

5.01
#4E7B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4E7B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B2B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B2B#FFFFFF#000000##FFFFFF
##4E7B2B1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#4E766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b2b;
/* rgb */ color: rgb(78, 123, 43);
/* oklch */ color: oklch(53.2% 0.121 133.8);
Tailwind
colors: {
  custom: {
    50: '#83a168',
    500: '#4e7b2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b2b;
$custom-light: #83a168;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b2b",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 93.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.12117,
    "h": 133.8
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#4E7B2B
secondary
#8656AB
accent
#50D89C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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