#4F8E2F#4F8E2F

#4F8E2F is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.144 H 136.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4F8E2F
RGBrgb(79, 142, 47)
HSLhsl(100, 50%, 37%)
HSVhsv(100, 67%, 56%)
CMYKcmyk(44.4%, 0%, 66.9%, 44.3%)
CIE-LABlab(53.18, -37.90, 42.85)
CIE-LCHlch(53.18, 57.20, 131.49°)
OKLaboklab(58.37% -0.1049 0.0986)
OKLCHoklch(58.37% 0.144 136.8)
XYZxyz(13.4102, 21.2127, 6.0766)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E2F #6E2F8E
analogous
#7F8E2F #4F8E2F #2F8E3E
triadic
#4F8E2F #2F4F8E #8E2F4F
tetradic
#4F8E2F #2F7F8E #6E2F8E #8E3E2F
square
#4F8E2F #2F7F8E #6E2F8E #8E3E2F
split-complementary
#4F8E2F #3E2F8E #8E2F7F
monochromatic
#1C3211 #356020 #4F8E2F #69BC3E #8BCE6A

Accessibility & contrast

On white

4.01
#4F8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4F8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E2F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E2F#FFFFFF#000000##000000
##4F8E2F1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e2f;
/* rgb */ color: rgb(79, 142, 47);
/* oklch */ color: oklch(58.4% 0.144 136.8);
Tailwind
colors: {
  custom: {
    50: '#85af6c',
    500: '#4f8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e2f;
$custom-light: #85af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e2f",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 99.789,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.14398,
    "h": 136.8
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

primary
#4F8E2F
secondary
#9A64B5
accent
#4EDAAB
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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