#4E7F19#4E7F19

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

Color values

HEX#4E7F19
RGBrgb(78, 127, 25)
HSLhsl(89, 67%, 30%)
HSVhsv(89, 80%, 50%)
CMYKcmyk(38.6%, 0%, 80.3%, 50.2%)
CIE-LABlab(48.09, -33.29, 46.31)
CIE-LCHlch(48.09, 57.04, 125.71°)
OKLaboklab(54.14% -0.0941 0.1026)
OKLCHoklch(54.14% 0.139 132.5)
XYZxyz(10.9066, 16.8681, 3.6007)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F19 #4A197F
analogous
#7F7D19 #4E7F19 #1B7F19
triadic
#4E7F19 #194E7F #7F194E
tetradic
#4E7F19 #197F7D #4A197F #7F191B
square
#4E7F19 #197F7D #4A197F #7F191B
split-complementary
#4E7F19 #191B7F #7D197F
monochromatic
#101A05 #2F4C0F #4E7F19 #6DB223 #8CD83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7F19#FFFFFF#000000##FFFFFF
##4E7F191.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)
#857500
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#4F7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f19;
/* rgb */ color: rgb(78, 127, 25);
/* oklch */ color: oklch(54.1% 0.139 132.5);
Tailwind
colors: {
  custom: {
    50: '#84a45f',
    500: '#4e7f19',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f19;
$custom-light: #84a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f19",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 88.824,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.13921,
    "h": 132.5
  },
  "luminance": 0.16869
}

Semantic roles & 50–950 ramp

primary
#4E7F19
secondary
#7841B3
accent
#3EEA91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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