#4F8D2A#4F8D2A

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

Color values

HEX#4F8D2A
RGBrgb(79, 141, 42)
HSLhsl(98, 54%, 36%)
HSVhsv(98, 70%, 55%)
CMYKcmyk(44%, 0%, 70.2%, 44.7%)
CIE-LABlab(52.82, -37.91, 44.60)
CIE-LCHlch(52.82, 58.53, 130.36°)
OKLaboklab(58.05% -0.1053 0.1016)
OKLCHoklch(58.05% 0.146 136)
XYZxyz(13.1669, 20.8784, 5.5262)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D2A #682A8D
analogous
#808D2A #4F8D2A #2A8D37
triadic
#4F8D2A #2A4F8D #8D2A4F
tetradic
#4F8D2A #2A808D #682A8D #8D372A
square
#4F8D2A #2A808D #682A8D #8D372A
split-complementary
#4F8D2A #372A8D #8D2A80
monochromatic
#1A2F0E #355E1C #4F8D2A #69BC38 #8BD061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8D2A#FFFFFF#000000##000000
##4F8D2A1.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)
#92811B
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d2a;
/* rgb */ color: rgb(79, 141, 42);
/* oklch */ color: oklch(58.1% 0.146 136.0);
Tailwind
colors: {
  custom: {
    50: '#86af69',
    500: '#4f8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d2a;
$custom-light: #86af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d2a",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 97.576,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.14636,
    "h": 136
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#4F8D2A
secondary
#955DB6
accent
#4ADDA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #4F8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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