#4F8D1B#4F8D1B

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

Color values

HEX#4F8D1B
RGBrgb(79, 141, 27)
HSLhsl(93, 68%, 33%)
HSVhsv(93, 81%, 55%)
CMYKcmyk(44%, 0%, 80.9%, 44.7%)
CIE-LABlab(52.72, -38.94, 50.02)
CIE-LCHlch(52.72, 63.39, 127.90°)
OKLaboklab(57.94% -0.1092 0.1107)
OKLCHoklch(57.94% 0.156 134.6)
XYZxyz(12.9469, 20.7904, 4.3675)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D1B #591B8D
analogous
#888D1B #4F8D1B #1B8D20
triadic
#4F8D1B #1B4F8D #8D1B4F
tetradic
#4F8D1B #1B888D #591B8D #8D201B
square
#4F8D1B #1B888D #591B8D #8D201B
split-complementary
#4F8D1B #201B8D #8D1B88
monochromatic
#152607 #325A11 #4F8D1B #6CC025 #8BDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8D1B#FFFFFF#000000##000000
##4F8D1B1.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)
#8A7C28
Tritanopia (blue-blind)
#4E8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d1b;
/* rgb */ color: rgb(79, 141, 27);
/* oklch */ color: oklch(57.9% 0.155 134.6);
Tailwind
colors: {
  custom: {
    50: '#86af62',
    500: '#4f8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d1b;
$custom-light: #86af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d1b",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 92.632,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.1555,
    "h": 134.6
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#4F8D1B
secondary
#8746BD
accent
#3DEB9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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