#4F8528#4F8528

#4F8528 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.137 H 134.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4F8528
RGBrgb(79, 133, 40)
HSLhsl(95, 54%, 34%)
HSVhsv(95, 70%, 52%)
CMYKcmyk(40.6%, 0%, 69.9%, 47.8%)
CIE-LABlab(50.20, -34.57, 42.70)
CIE-LCHlch(50.20, 54.94, 128.99°)
OKLaboklab(55.91% -0.0964 0.0974)
OKLCHoklch(55.91% 0.137 134.7)
XYZxyz(11.9947, 18.5899, 4.9633)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8528 #5E2885
analogous
#7E8528 #4F8528 #288530
triadic
#4F8528 #284F85 #85284F
tetradic
#4F8528 #287E85 #5E2885 #853028
square
#4F8528 #287E85 #5E2885 #853028
split-complementary
#4F8528 #302885 #85287E
monochromatic
#17270C #33561A #4F8528 #6BB436 #8ACD5A

Accessibility & contrast

On white

4.45
#4F8528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4F8528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8528
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8528#FFFFFF#000000##000000
##4F85281.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1B
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#4E8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f8528;
/* rgb */ color: rgb(79, 133, 40);
/* oklch */ color: oklch(55.9% 0.137 134.7);
Tailwind
colors: {
  custom: {
    50: '#85a967',
    500: '#4f8528',
    950: '#000000',
  },
}
SCSS
$custom: #4f8528;
$custom-light: #85a967;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8528",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 94.839,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.13702,
    "h": 134.7
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

primary
#4F8528
secondary
#8C56B3
accent
#4BDDA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8528

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

Preview Lab → · Contrast checker → · Palette generator →

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