#4F8D25#4F8D25

#4F8D25 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.150 H 135.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F8D25
RGBrgb(79, 141, 37)
HSLhsl(96, 58%, 35%)
HSVhsv(96, 74%, 55%)
CMYKcmyk(44%, 0%, 73.8%, 44.7%)
CIE-LABlab(52.78, -38.30, 46.57)
CIE-LCHlch(52.78, 60.29, 129.44°)
OKLaboklab(58.01% -0.1068 0.105)
OKLCHoklch(58.01% 0.15 135.5)
XYZxyz(13.0829, 20.8448, 5.0840)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D25 #63258D
analogous
#838D25 #4F8D25 #258D2F
triadic
#4F8D25 #254F8D #8D254F
tetradic
#4F8D25 #25838D #63258D #8D2F25
square
#4F8D25 #25838D #63258D #8D2F25
split-complementary
#4F8D25 #2F258D #8D2583
monochromatic
#192C0C #345D18 #4F8D25 #6ABD32 #8AD359

Accessibility & contrast

On white

4.06
#4F8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4F8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D25
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D25#FFFFFF#000000##000000
##4F8D251.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928113
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d25;
/* rgb */ color: rgb(79, 141, 37);
/* oklch */ color: oklch(58.0% 0.150 135.5);
Tailwind
colors: {
  custom: {
    50: '#86af67',
    500: '#4f8d25',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d25;
$custom-light: #86af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d25",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 95.769,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.14977,
    "h": 135.5
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

primary
#4F8D25
secondary
#9056B8
accent
#46E2A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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