#4E7F1A#4E7F1A

#4E7F1A is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.139 H 132.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4E7F1A
RGBrgb(78, 127, 26)
HSLhsl(89, 66%, 30%)
HSVhsv(89, 80%, 50%)
CMYKcmyk(38.6%, 0%, 79.5%, 50.2%)
CIE-LABlab(48.10, -33.24, 45.98)
CIE-LCHlch(48.10, 56.73, 125.86°)
OKLaboklab(54.14% -0.0938 0.1021)
OKLCHoklch(54.14% 0.139 132.6)
XYZxyz(10.9176, 16.8725, 3.6586)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F1A #4B1A7F
analogous
#7F7E1A #4E7F1A #1B7F1A
triadic
#4E7F1A #1A4E7F #7F1A4E
tetradic
#4E7F1A #1A7F7E #4B1A7F #7F1A1B
square
#4E7F1A #1A7F7E #4B1A7F #7F1A1B
split-complementary
#4E7F1A #1A1B7F #7E1A7F
monochromatic
#101905 #2F4C10 #4E7F1A #6DB224 #8CD73C

Accessibility & contrast

On white

4.80
#4E7F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4E7F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F1A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F1A#FFFFFF#000000##FFFFFF
##4E7F1A1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857501
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#4F7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f1a;
/* rgb */ color: rgb(78, 127, 26);
/* oklch */ color: oklch(54.1% 0.139 132.6);
Tailwind
colors: {
  custom: {
    50: '#84a45f',
    500: '#4e7f1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f1a;
$custom-light: #84a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f1a",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 89.109,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.13866,
    "h": 132.6
  },
  "luminance": 0.16873
}

Semantic roles & 50–950 ramp

primary
#4E7F1A
secondary
#7942B3
accent
#3FE991
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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