#4F8D2F#4F8D2F

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

Color values

HEX#4F8D2F
RGBrgb(79, 141, 47)
HSLhsl(100, 50%, 37%)
HSVhsv(100, 67%, 55%)
CMYKcmyk(44%, 0%, 66.7%, 44.7%)
CIE-LABlab(52.86, -37.47, 42.50)
CIE-LCHlch(52.86, 56.66, 131.40°)
OKLaboklab(58.1% -0.1038 0.0978)
OKLCHoklch(58.1% 0.143 136.7)
XYZxyz(13.2620, 20.9165, 6.0273)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D2F #6D2F8D
analogous
#7E8D2F #4F8D2F #2F8D3E
triadic
#4F8D2F #2F4F8D #8D2F4F
tetradic
#4F8D2F #2F7E8D #6D2F8D #8D3E2F
square
#4F8D2F #2F7E8D #6D2F8D #8D3E2F
split-complementary
#4F8D2F #3E2F8D #8D2F7E
monochromatic
#1C3110 #355F20 #4F8D2F #69BB3E #8BCD69

Accessibility & contrast

On white

4.05
#4F8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8D2F#FFFFFF#000000##000000
##4F8D2F1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#4C887A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d2f;
/* rgb */ color: rgb(79, 141, 47);
/* oklch */ color: oklch(58.1% 0.143 136.7);
Tailwind
colors: {
  custom: {
    50: '#85af6c',
    500: '#4f8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d2f;
$custom-light: #85af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d2f",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 99.574,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.581,
    "c": 0.14262,
    "h": 136.7
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#4F8D2F
secondary
#9964B4
accent
#4EDAAA
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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