#4E7E1B#4E7E1B

#4E7E1B is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.137 H 132.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E7E1B
RGBrgb(78, 126, 27)
HSLhsl(89, 65%, 30%)
HSVhsv(89, 79%, 49%)
CMYKcmyk(38.1%, 0%, 78.6%, 50.6%)
CIE-LABlab(47.78, -32.72, 45.32)
CIE-LCHlch(47.78, 55.90, 125.83°)
OKLaboklab(53.88% -0.0924 0.1009)
OKLCHoklch(53.88% 0.137 132.5)
XYZxyz(10.8004, 16.6201, 3.6756)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E1B #4B1B7E
analogous
#7E7D1B #4E7E1B #1C7E1B
triadic
#4E7E1B #1B4E7E #7E1B4E
tetradic
#4E7E1B #1B7E7D #4B1B7E #7E1B1C
square
#4E7E1B #1B7E7D #4B1B7E #7E1B1C
split-complementary
#4E7E1B #1B1C7E #7D1B7E
monochromatic
#101905 #2F4C10 #4E7E1B #6DB026 #8CD63E

Accessibility & contrast

On white

4.86
#4E7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E7E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E1B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E1B#FFFFFF#000000##FFFFFF
##4E7E1B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#4F796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e1b;
/* rgb */ color: rgb(78, 126, 27);
/* oklch */ color: oklch(53.9% 0.137 132.5);
Tailwind
colors: {
  custom: {
    50: '#84a460',
    500: '#4e7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e1b;
$custom-light: #84a460;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e1b",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 89.091,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.53883,
    "c": 0.13678,
    "h": 132.5
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#4E7E1B
secondary
#7943B2
accent
#40E891
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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