#4E7B1D#4E7B1D

#4E7B1D is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.132 H 132.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E7B1D
RGBrgb(78, 123, 29)
HSLhsl(89, 62%, 30%)
HSVhsv(89, 76%, 48%)
CMYKcmyk(36.6%, 0%, 76.4%, 51.8%)
CIE-LABlab(46.81, -31.22, 43.65)
CIE-LCHlch(46.81, 53.67, 125.57°)
OKLaboklab(53.1% -0.0882 0.0977)
OKLCHoklch(53.1% 0.132 132.1)
XYZxyz(10.4465, 15.8739, 3.6757)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B1D #4A1D7B
analogous
#7B791D #4E7B1D #1F7B1D
triadic
#4E7B1D #1D4E7B #7B1D4E
tetradic
#4E7B1D #1D7B79 #4A1D7B #7B1D1F
square
#4E7B1D #1D7B79 #4A1D7B #7B1D1F
split-complementary
#4E7B1D #1D1F7B #791D7B
monochromatic
#101906 #2F4911 #4E7B1D #6DAD29 #8CD240

Accessibility & contrast

On white

5.03
#4E7B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4E7B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B1D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B1D#FFFFFF#000000##FFFFFF
##4E7B1D1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b1d;
/* rgb */ color: rgb(78, 123, 29);
/* oklch */ color: oklch(53.1% 0.132 132.1);
Tailwind
colors: {
  custom: {
    50: '#84a160',
    500: '#4e7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b1d;
$custom-light: #84a160;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b1d",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 88.723,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.1316,
    "h": 132.1
  },
  "luminance": 0.15874
}

Semantic roles & 50–950 ramp

primary
#4E7B1D
secondary
#7845AF
accent
#43E590
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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