#4F8025#4F8025

#4F8025 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.132 H 133.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4F8025
RGBrgb(79, 128, 37)
HSLhsl(92, 55%, 32%)
HSVhsv(92, 71%, 50%)
CMYKcmyk(38.3%, 0%, 71.1%, 49.8%)
CIE-LABlab(48.55, -32.55, 42.24)
CIE-LCHlch(48.55, 53.33, 127.62°)
OKLaboklab(54.55% -0.0912 0.096)
OKLCHoklch(54.55% 0.132 133.5)
XYZxyz(11.2774, 17.2337, 4.4821)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8025 #562580
analogous
#7D8025 #4F8025 #258029
triadic
#4F8025 #254F80 #80254F
tetradic
#4F8025 #257D80 #562580 #802925
square
#4F8025 #257D80 #562580 #802925
split-complementary
#4F8025 #292580 #80257D
monochromatic
#14210A #325117 #4F8025 #6CAF33 #8BCD52

Accessibility & contrast

On white

4.72
#4F8025 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4F8025 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8025
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8025#FFFFFF#000000##FFFFFF
##4F80251.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857617
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#4F7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f8025;
/* rgb */ color: rgb(79, 128, 37);
/* oklch */ color: oklch(54.6% 0.132 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a565',
    500: '#4f8025',
    950: '#000000',
  },
}
SCSS
$custom: #4f8025;
$custom-light: #84a565;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8025",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 92.308,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.13238,
    "h": 133.5
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#4F8025
secondary
#8450B1
accent
#49DE9A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8025

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

Preview Lab → · Contrast checker → · Palette generator →

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