#4F8A25#4F8A25

#4F8A25 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.146 H 135.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F8A25
RGBrgb(79, 138, 37)
HSLhsl(95, 58%, 34%)
HSVhsv(95, 73%, 54%)
CMYKcmyk(42.8%, 0%, 73.2%, 45.9%)
CIE-LABlab(51.81, -37.01, 45.58)
CIE-LCHlch(51.81, 58.71, 129.07°)
OKLaboklab(57.21% -0.1033 0.103)
OKLCHoklch(57.21% 0.146 135.1)
XYZxyz(12.6466, 19.9721, 4.9385)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A25 #60258A
analogous
#818A25 #4F8A25 #258A2E
triadic
#4F8A25 #254F8A #8A254F
tetradic
#4F8A25 #25818A #60258A #8A2E25
square
#4F8A25 #25818A #60258A #8A2E25
split-complementary
#4F8A25 #2E258A #8A2581
monochromatic
#18290B #335A18 #4F8A25 #6BBA32 #8AD257

Accessibility & contrast

On white

4.20
#4F8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4F8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A25
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A25#FFFFFF#000000##000000
##4F8A251.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F14
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#4E8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8a25;
/* rgb */ color: rgb(79, 138, 37);
/* oklch */ color: oklch(57.2% 0.146 135.1);
Tailwind
colors: {
  custom: {
    50: '#86ac66',
    500: '#4f8a25',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a25;
$custom-light: #86ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a25",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 95.05,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.14583,
    "h": 135.1
  },
  "luminance": 0.19973
}

Semantic roles & 50–950 ramp

primary
#4F8A25
secondary
#8E54B7
accent
#47E1A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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