#4E7F1D#4E7F1D

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

Color values

HEX#4E7F1D
RGBrgb(78, 127, 29)
HSLhsl(90, 63%, 31%)
HSVhsv(90, 77%, 50%)
CMYKcmyk(38.6%, 0%, 77.2%, 50.2%)
CIE-LABlab(48.12, -33.05, 44.93)
CIE-LCHlch(48.12, 55.78, 126.34°)
OKLaboklab(54.16% -0.0931 0.1004)
OKLCHoklch(54.16% 0.137 132.8)
XYZxyz(10.9529, 16.8867, 3.8445)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F1D #4E1D7F
analogous
#7F7F1D #4E7F1D #1D7F1D
triadic
#4E7F1D #1D4E7F #7F1D4E
tetradic
#4E7F1D #1D7F7F #4E1D7F #7F1D1D
square
#4E7F1D #1D7F7F #4E1D7F #7F1D1D
split-complementary
#4E7F1D #1D1D7F #7F1D7F
monochromatic
#111B06 #2F4D12 #4E7F1D #6DB128 #8BD442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7F1D#FFFFFF#000000##FFFFFF
##4E7F1D1.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)
#847508
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#4E7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f1d;
/* rgb */ color: rgb(78, 127, 29);
/* oklch */ color: oklch(54.2% 0.137 132.8);
Tailwind
colors: {
  custom: {
    50: '#84a461',
    500: '#4e7f1d',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f1d;
$custom-light: #84a461;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f1d",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 90,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.13692,
    "h": 132.8
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#4E7F1D
secondary
#7C45B2
accent
#42E694
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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