#4F8E2D#4F8E2D

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

Color values

HEX#4F8E2D
RGBrgb(79, 142, 45)
HSLhsl(99, 52%, 37%)
HSVhsv(99, 68%, 56%)
CMYKcmyk(44.4%, 0%, 68.3%, 44.3%)
CIE-LABlab(53.16, -38.08, 43.70)
CIE-LCHlch(53.16, 57.96, 131.07°)
OKLaboklab(58.35% -0.1056 0.1001)
OKLCHoklch(58.35% 0.146 136.5)
XYZxyz(13.3707, 21.1969, 5.8690)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E2D #6C2D8E
analogous
#808E2D #4F8E2D #2D8E3C
triadic
#4F8E2D #2D4F8E #8E2D4F
tetradic
#4F8E2D #2D808E #6C2D8E #8E3C2D
square
#4F8E2D #2D808E #6C2D8E #8E3C2D
split-complementary
#4F8E2D #3C2D8E #8E2D80
monochromatic
#1B3110 #35601E #4F8E2D #69BC3C #8BCF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8E2D#FFFFFF#000000##000000
##4F8E2D1.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)
#938220
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e2d;
/* rgb */ color: rgb(79, 142, 45);
/* oklch */ color: oklch(58.3% 0.146 136.5);
Tailwind
colors: {
  custom: {
    50: '#86af6b',
    500: '#4f8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e2d;
$custom-light: #86af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e2d",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 98.969,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.14551,
    "h": 136.5
  },
  "luminance": 0.21198
}

Semantic roles & 50–950 ramp

primary
#4F8E2D
secondary
#9861B5
accent
#4CDBA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #4F8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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