#4E7F1B#4E7F1B

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

Color values

HEX#4E7F1B
RGBrgb(78, 127, 27)
HSLhsl(89, 65%, 30%)
HSVhsv(89, 79%, 50%)
CMYKcmyk(38.6%, 0%, 78.7%, 50.2%)
CIE-LABlab(48.10, -33.18, 45.64)
CIE-LCHlch(48.10, 56.42, 126.02°)
OKLaboklab(54.15% -0.0936 0.1015)
OKLCHoklch(54.15% 0.138 132.7)
XYZxyz(10.9289, 16.8771, 3.7185)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F1B #4C1B7F
analogous
#7F7E1B #4E7F1B #1C7F1B
triadic
#4E7F1B #1B4E7F #7F1B4E
tetradic
#4E7F1B #1B7F7E #4C1B7F #7F1B1C
square
#4E7F1B #1B7F7E #4C1B7F #7F1B1C
split-complementary
#4E7F1B #1B1C7F #7E1B7F
monochromatic
#101A06 #2F4D10 #4E7F1B #6DB126 #8CD63E

Accessibility & contrast

On white

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

On black

4.38
#4E7F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7F1B#FFFFFF#000000##FFFFFF
##4E7F1B1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7f1b;
/* rgb */ color: rgb(78, 127, 27);
/* oklch */ color: oklch(54.1% 0.138 132.7);
Tailwind
colors: {
  custom: {
    50: '#84a460',
    500: '#4e7f1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f1b;
$custom-light: #84a460;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f1b",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 89.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.1381,
    "h": 132.7
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#4E7F1B
secondary
#7A43B3
accent
#40E892
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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