#4E741C#4E741C

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

Color values

HEX#4E741C
RGBrgb(78, 116, 28)
HSLhsl(86, 61%, 28%)
HSVhsv(86, 76%, 45%)
CMYKcmyk(32.8%, 0%, 75.9%, 54.5%)
CIE-LABlab(44.51, -27.99, 41.77)
CIE-LCHlch(44.51, 50.28, 123.83°)
OKLaboklab(51.22% -0.0795 0.0936)
OKLCHoklch(51.22% 0.123 130.3)
XYZxyz(9.5968, 14.1940, 3.3325)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E741C #421C74
analogous
#746E1C #4E741C #22741C
triadic
#4E741C #1C4E74 #741C4E
tetradic
#4E741C #1C746E #421C74 #741C22
square
#4E741C #1C746E #421C74 #741C22
split-complementary
#4E741C #1C2274 #6E1C74
monochromatic
#111906 #2D4310 #4E741C #6FA528 #8FD03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E741C#FFFFFF#000000##FFFFFF
##4E741C1.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)
#7A6B0C
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#506F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e741c;
/* rgb */ color: rgb(78, 116, 28);
/* oklch */ color: oklch(51.2% 0.123 130.3);
Tailwind
colors: {
  custom: {
    50: '#839c5f',
    500: '#4e741c',
    950: '#000000',
  },
}
SCSS
$custom: #4e741c;
$custom-light: #839c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e741c",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 85.909,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.12278,
    "h": 130.3
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#4E741C
secondary
#6F43A8
accent
#44E489
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E741C

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

Preview Lab → · Contrast checker → · Palette generator →

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