#4F8D2B#4F8D2B

#4F8D2B is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.146 H 136.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4F8D2B
RGBrgb(79, 141, 43)
HSLhsl(98, 53%, 36%)
HSVhsv(98, 70%, 55%)
CMYKcmyk(44%, 0%, 69.5%, 44.7%)
CIE-LABlab(52.82, -37.82, 44.19)
CIE-LCHlch(52.82, 58.17, 130.56°)
OKLaboklab(58.06% -0.105 0.1009)
OKLCHoklch(58.06% 0.146 136.2)
XYZxyz(13.1850, 20.8857, 5.6216)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D2B #692B8D
analogous
#808D2B #4F8D2B #2B8D38
triadic
#4F8D2B #2B4F8D #8D2B4F
tetradic
#4F8D2B #2B808D #692B8D #8D382B
square
#4F8D2B #2B808D #692B8D #8D382B
split-complementary
#4F8D2B #382B8D #8D2B80
monochromatic
#1A2F0E #355E1D #4F8D2B #69BC39 #8BCF63

Accessibility & contrast

On white

4.06
#4F8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4F8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D2B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D2B#FFFFFF#000000##000000
##4F8D2B1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d2b;
/* rgb */ color: rgb(79, 141, 43);
/* oklch */ color: oklch(58.1% 0.146 136.2);
Tailwind
colors: {
  custom: {
    50: '#86af6a',
    500: '#4f8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d2b;
$custom-light: #86af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d2b",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 97.959,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.14564,
    "h": 136.2
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#4F8D2B
secondary
#955EB6
accent
#4BDDA7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #4F8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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