#4D8F15#4D8F15

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

Color values

HEX#4D8F15
RGBrgb(77, 143, 21)
HSLhsl(92, 74%, 32%)
HSVhsv(92, 85%, 56%)
CMYKcmyk(46.2%, 0%, 85.3%, 43.9%)
CIE-LABlab(53.25, -40.76, 52.20)
CIE-LCHlch(53.25, 66.23, 127.98°)
OKLaboklab(58.34% -0.1143 0.1144)
OKLCHoklch(58.34% 0.162 135)
XYZxyz(13.0181, 21.2761, 4.1301)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F15 #57158F
analogous
#8A8F15 #4D8F15 #158F1A
triadic
#4D8F15 #154D8F #8F154D
tetradic
#4D8F15 #158A8F #57158F #8F1A15
square
#4D8F15 #158A8F #57158F #8F1A15
split-complementary
#4D8F15 #1A158F #8F158A
monochromatic
#142405 #305A0D #4D8F15 #6AC41D #88E23C

Accessibility & contrast

On white

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

On black

5.26
#4D8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8F15
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8F15#FFFFFF#000000##000000
##4D8F151.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d8f15;
/* rgb */ color: rgb(77, 143, 21);
/* oklch */ color: oklch(58.3% 0.162 135.0);
Tailwind
colors: {
  custom: {
    50: '#86b060',
    500: '#4d8f15',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f15;
$custom-light: #86b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f15",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 92.459,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.16172,
    "h": 135
  },
  "luminance": 0.21277
}

Semantic roles & 50–950 ramp

primary
#4D8F15
secondary
#853EC2
accent
#37F19C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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