#4F8D1D#4F8D1D

#4F8D1D is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.154 H 134.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4F8D1D
RGBrgb(79, 141, 29)
HSLhsl(93, 66%, 33%)
HSVhsv(93, 79%, 55%)
CMYKcmyk(44%, 0%, 79.4%, 44.7%)
CIE-LABlab(52.73, -38.83, 49.38)
CIE-LCHlch(52.73, 62.82, 128.18°)
OKLaboklab(57.95% -0.1088 0.1097)
OKLCHoklch(57.95% 0.154 134.8)
XYZxyz(12.9708, 20.8000, 4.4935)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D1D #5B1D8D
analogous
#878D1D #4F8D1D #1D8D23
triadic
#4F8D1D #1D4F8D #8D1D4F
tetradic
#4F8D1D #1D878D #5B1D8D #8D231D
square
#4F8D1D #1D878D #5B1D8D #8D231D
split-complementary
#4F8D1D #231D8D #8D1D87
monochromatic
#162708 #335A13 #4F8D1D #6BC027 #8BDA4B

Accessibility & contrast

On white

4.07
#4F8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4F8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D1D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D1D#FFFFFF#000000##000000
##4F8D1D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#4E8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d1d;
/* rgb */ color: rgb(79, 141, 29);
/* oklch */ color: oklch(58.0% 0.154 134.8);
Tailwind
colors: {
  custom: {
    50: '#86af63',
    500: '#4f8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d1d;
$custom-light: #86af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d1d",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 93.214,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57954,
    "c": 0.15447,
    "h": 134.8
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#4F8D1D
secondary
#894ABC
accent
#3FE99D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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