#4D8D14#4D8D14

#4D8D14 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.160 H 134.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D8D14
RGBrgb(77, 141, 20)
HSLhsl(92, 75%, 32%)
HSVhsv(92, 86%, 55%)
CMYKcmyk(45.4%, 0%, 85.8%, 44.7%)
CIE-LABlab(52.59, -39.97, 51.87)
CIE-LCHlch(52.59, 65.49, 127.62°)
OKLaboklab(57.8% -0.1122 0.1136)
OKLCHoklch(57.8% 0.16 134.7)
XYZxyz(12.7114, 20.6773, 3.9830)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D14 #54148D
analogous
#8A8D14 #4D8D14 #148D18
triadic
#4D8D14 #144D8D #8D144D
tetradic
#4D8D14 #148A8D #54148D #8D1814
square
#4D8D14 #148A8D #54148D #8D1814
split-complementary
#4D8D14 #18148D #8D148A
monochromatic
#122205 #30570C #4D8D14 #6AC31C #89E339

Accessibility & contrast

On white

4.09
#4D8D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4D8D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8D14
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8D14#FFFFFF#000000##000000
##4D8D141.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d8d14;
/* rgb */ color: rgb(77, 141, 20);
/* oklch */ color: oklch(57.8% 0.160 134.7);
Tailwind
colors: {
  custom: {
    50: '#85af5f',
    500: '#4d8d14',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d14;
$custom-light: #85af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d14",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 91.736,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.15967,
    "h": 134.7
  },
  "luminance": 0.20678
}

Semantic roles & 50–950 ramp

primary
#4D8D14
secondary
#823CC1
accent
#36F299
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8D14

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

Preview Lab → · Contrast checker → · Palette generator →

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