#4D8D15#4D8D15

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

Color values

HEX#4D8D15
RGBrgb(77, 141, 21)
HSLhsl(92, 74%, 32%)
HSVhsv(92, 85%, 55%)
CMYKcmyk(45.4%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.60, -39.93, 51.62)
CIE-LCHlch(52.60, 65.26, 127.72°)
OKLaboklab(57.81% -0.1121 0.1132)
OKLCHoklch(57.81% 0.159 134.7)
XYZxyz(12.7205, 20.6809, 4.0309)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D15 #55158D
analogous
#898D15 #4D8D15 #158D19
triadic
#4D8D15 #154D8D #8D154D
tetradic
#4D8D15 #15898D #55158D #8D1915
square
#4D8D15 #15898D #55158D #8D1915
split-complementary
#4D8D15 #19158D #8D1589
monochromatic
#132205 #30580D #4D8D15 #6AC21D #89E23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8D15#FFFFFF#000000##000000
##4D8D151.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: #4d8d15;
/* rgb */ color: rgb(77, 141, 21);
/* oklch */ color: oklch(57.8% 0.159 134.7);
Tailwind
colors: {
  custom: {
    50: '#85af5f',
    500: '#4d8d15',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d15;
$custom-light: #85af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d15",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 92,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.15928,
    "h": 134.7
  },
  "luminance": 0.20682
}

Semantic roles & 50–950 ramp

primary
#4D8D15
secondary
#833DC1
accent
#37F19A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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