#4E741F#4E741F

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

Color values

HEX#4E741F
RGBrgb(78, 116, 31)
HSLhsl(87, 58%, 29%)
HSVhsv(87, 73%, 45%)
CMYKcmyk(32.8%, 0%, 73.3%, 54.5%)
CIE-LABlab(44.53, -27.78, 40.59)
CIE-LCHlch(44.53, 49.18, 124.39°)
OKLaboklab(51.24% -0.0786 0.0916)
OKLCHoklch(51.24% 0.121 130.6)
XYZxyz(9.6345, 14.2091, 3.5311)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E741F #451F74
analogous
#74701F #4E741F #23741F
triadic
#4E741F #1F4E74 #741F4E
tetradic
#4E741F #1F7470 #451F74 #741F23
square
#4E741F #1F7470 #451F74 #741F23
split-complementary
#4E741F #1F2374 #701F74
monochromatic
#101806 #2E4412 #4E741F #6EA42C #8ECC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E741F#FFFFFF#000000##FFFFFF
##4E741F1.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)
#796B11
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#506F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e741f;
/* rgb */ color: rgb(78, 116, 31);
/* oklch */ color: oklch(51.2% 0.121 130.6);
Tailwind
colors: {
  custom: {
    50: '#839c60',
    500: '#4e741f',
    950: '#000000',
  },
}
SCSS
$custom: #4e741f;
$custom-light: #839c60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e741f",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 86.824,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.12072,
    "h": 130.6
  },
  "luminance": 0.14209
}

Semantic roles & 50–950 ramp

primary
#4E741F
secondary
#7247A8
accent
#47E18C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E741F

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

Preview Lab → · Contrast checker → · Palette generator →

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