#4E7A1B#4E7A1B

#4E7A1B is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.131 H 131.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E7A1B
RGBrgb(78, 122, 27)
HSLhsl(88, 64%, 29%)
HSVhsv(88, 78%, 48%)
CMYKcmyk(36.1%, 0%, 77.9%, 52.2%)
CIE-LABlab(46.47, -30.89, 44.06)
CIE-LCHlch(46.47, 53.81, 125.03°)
OKLaboklab(52.81% -0.0874 0.0982)
OKLCHoklch(52.81% 0.131 131.7)
XYZxyz(10.2991, 15.6175, 3.5085)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A1B #471B7A
analogous
#7A771B #4E7A1B #1F7A1B
triadic
#4E7A1B #1B4E7A #7A1B4E
tetradic
#4E7A1B #1B7A77 #471B7A #7A1B1F
square
#4E7A1B #1B7A77 #471B7A #7A1B1F
split-complementary
#4E7A1B #1B1F7A #771B7A
monochromatic
#101906 #2E4810 #4E7A1B #6EAC26 #8DD43C

Accessibility & contrast

On white

5.09
#4E7A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4E7A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A1B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A1B#FFFFFF#000000##FFFFFF
##4E7A1B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807006
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#4F7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a1b;
/* rgb */ color: rgb(78, 122, 27);
/* oklch */ color: oklch(52.8% 0.131 131.7);
Tailwind
colors: {
  custom: {
    50: '#84a15f',
    500: '#4e7a1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a1b;
$custom-light: #84a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a1b",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 87.789,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.13149,
    "h": 131.7
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#4E7A1B
secondary
#7443AE
accent
#41E78E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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