#4E741B#4E741B

#4E741B is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.123 H 130.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4E741B
RGBrgb(78, 116, 27)
HSLhsl(86, 62%, 28%)
HSVhsv(86, 77%, 45%)
CMYKcmyk(32.8%, 0%, 76.7%, 54.5%)
CIE-LABlab(44.50, -28.06, 42.15)
CIE-LCHlch(44.50, 50.63, 123.65°)
OKLaboklab(51.21% -0.0797 0.0942)
OKLCHoklch(51.21% 0.123 130.2)
XYZxyz(9.5850, 14.1893, 3.2705)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E741B #411B74
analogous
#746D1B #4E741B #21741B
triadic
#4E741B #1B4E74 #741B4E
tetradic
#4E741B #1B746D #411B74 #741B21
square
#4E741B #1B746D #411B74 #741B21
split-complementary
#4E741B #1B2174 #6D1B74
monochromatic
#111906 #2D420F #4E741B #6FA627 #90D139

Accessibility & contrast

On white

5.47
#4E741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4E741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E741B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E741B#FFFFFF#000000##FFFFFF
##4E741B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B09
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#506F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e741b;
/* rgb */ color: rgb(78, 116, 27);
/* oklch */ color: oklch(51.2% 0.123 130.2);
Tailwind
colors: {
  custom: {
    50: '#839c5e',
    500: '#4e741b',
    950: '#000000',
  },
}
SCSS
$custom: #4e741b;
$custom-light: #839c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e741b",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 85.618,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.12343,
    "h": 130.2
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#4E741B
secondary
#6E42A9
accent
#42E588
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E741B

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

Preview Lab → · Contrast checker → · Palette generator →

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