#4F8B2D#4F8B2D

#4F8B2D is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.6% C 0.141 H 136.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4F8B2D
RGBrgb(79, 139, 45)
HSLhsl(98, 51%, 36%)
HSVhsv(98, 68%, 55%)
CMYKcmyk(43.2%, 0%, 67.6%, 45.5%)
CIE-LABlab(52.19, -36.78, 42.66)
CIE-LCHlch(52.19, 56.33, 130.77°)
OKLaboklab(57.55% -0.102 0.0979)
OKLCHoklch(57.55% 0.141 136.2)
XYZxyz(12.9304, 20.3162, 5.7222)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8B2D #692D8B
analogous
#7E8B2D #4F8B2D #2D8B3A
triadic
#4F8B2D #2D4F8B #8B2D4F
tetradic
#4F8B2D #2D7E8B #692D8B #8B3A2D
square
#4F8B2D #2D7E8B #692D8B #8B3A2D
split-complementary
#4F8B2D #3A2D8B #8B2D7E
monochromatic
#1A2F0F #355D1E #4F8B2D #69B93C #8BCD65

Accessibility & contrast

On white

4.15
#4F8B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4F8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8B2D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8B2D#FFFFFF#000000##000000
##4F8B2D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908021
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#4D8678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8b2d;
/* rgb */ color: rgb(79, 139, 45);
/* oklch */ color: oklch(57.6% 0.141 136.2);
Tailwind
colors: {
  custom: {
    50: '#85ad6b',
    500: '#4f8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #4f8b2d;
$custom-light: #85ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8b2d",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 98.298,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5755,
    "c": 0.14144,
    "h": 136.2
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#4F8B2D
secondary
#9560B4
accent
#4DDBA7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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