#4D8F14#4D8F14

#4D8F14 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.162 H 134.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4D8F14
RGBrgb(77, 143, 20)
HSLhsl(92, 75%, 32%)
HSVhsv(92, 86%, 56%)
CMYKcmyk(46.2%, 0%, 86%, 43.9%)
CIE-LABlab(53.25, -40.80, 52.45)
CIE-LCHlch(53.25, 66.45, 127.88°)
OKLaboklab(58.34% -0.1145 0.1148)
OKLCHoklch(58.34% 0.162 134.9)
XYZxyz(13.0090, 21.2724, 4.0822)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F14 #56148F
analogous
#8B8F14 #4D8F14 #148F19
triadic
#4D8F14 #144D8F #8F144D
tetradic
#4D8F14 #148B8F #56148F #8F1914
square
#4D8F14 #148B8F #56148F #8F1914
split-complementary
#4D8F14 #19148F #8F148B
monochromatic
#132405 #30590C #4D8F14 #6AC51C #89E33A

Accessibility & contrast

On white

4.00
#4D8F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4D8F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8F14
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8F14#FFFFFF#000000##000000
##4D8F141.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#4B8979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f14;
/* rgb */ color: rgb(77, 143, 20);
/* oklch */ color: oklch(58.3% 0.162 134.9);
Tailwind
colors: {
  custom: {
    50: '#86b05f',
    500: '#4d8f14',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f14;
$custom-light: #86b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f14",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 92.195,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5834,
    "c": 0.16211,
    "h": 134.9
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#4D8F14
secondary
#843CC3
accent
#36F29B
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8F14

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

Preview Lab → · Contrast checker → · Palette generator →

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