#4F8B1D#4F8B1D

#4F8B1D is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.152 H 134.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F8B1D
RGBrgb(79, 139, 29)
HSLhsl(93, 65%, 33%)
HSVhsv(93, 79%, 55%)
CMYKcmyk(43.2%, 0%, 79.1%, 45.5%)
CIE-LABlab(52.08, -37.97, 48.77)
CIE-LCHlch(52.08, 61.81, 127.91°)
OKLaboklab(57.42% -0.1065 0.1084)
OKLCHoklch(57.42% 0.152 134.5)
XYZxyz(12.6786, 20.2155, 4.3961)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8B1D #591D8B
analogous
#868B1D #4F8B1D #1D8B22
triadic
#4F8B1D #1D4F8B #8B1D4F
tetradic
#4F8B1D #1D868B #591D8B #8B221D
square
#4F8B1D #1D868B #591D8B #8B221D
split-complementary
#4F8B1D #221D8B #8B1D86
monochromatic
#152608 #325812 #4F8B1D #6CBE28 #8BD949

Accessibility & contrast

On white

4.16
#4F8B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F8B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8B1D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8B1D#FFFFFF#000000##000000
##4F8B1D1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F01
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#4E8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8b1d;
/* rgb */ color: rgb(79, 139, 29);
/* oklch */ color: oklch(57.4% 0.152 134.5);
Tailwind
colors: {
  custom: {
    50: '#86ad62',
    500: '#4f8b1d',
    950: '#000000',
  },
}
SCSS
$custom: #4f8b1d;
$custom-light: #86ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8b1d",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 92.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57421,
    "c": 0.15194,
    "h": 134.5
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#4F8B1D
secondary
#8749BB
accent
#3FE89C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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