#4F8D2D#4F8D2D

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

Color values

HEX#4F8D2D
RGBrgb(79, 141, 45)
HSLhsl(99, 52%, 36%)
HSVhsv(99, 68%, 55%)
CMYKcmyk(44%, 0%, 68.1%, 44.7%)
CIE-LABlab(52.84, -37.65, 43.35)
CIE-LCHlch(52.84, 57.42, 130.97°)
OKLaboklab(58.08% -0.1044 0.0994)
OKLCHoklch(58.08% 0.144 136.4)
XYZxyz(13.2226, 20.9007, 5.8196)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D2D #6B2D8D
analogous
#7F8D2D #4F8D2D #2D8D3B
triadic
#4F8D2D #2D4F8D #8D2D4F
tetradic
#4F8D2D #2D7F8D #6B2D8D #8D3B2D
square
#4F8D2D #2D7F8D #6B2D8D #8D3B2D
split-complementary
#4F8D2D #3B2D8D #8D2D7F
monochromatic
#1B300F #355F1E #4F8D2D #69BB3C #8BCE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8D2D#FFFFFF#000000##000000
##4F8D2D1.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)
#928120
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d2d;
/* rgb */ color: rgb(79, 141, 45);
/* oklch */ color: oklch(58.1% 0.144 136.4);
Tailwind
colors: {
  custom: {
    50: '#85af6b',
    500: '#4f8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d2d;
$custom-light: #85af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d2d",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 98.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.14415,
    "h": 136.4
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#4F8D2D
secondary
#9761B5
accent
#4DDBA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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