#4F8529#4F8529

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

Color values

HEX#4F8529
RGBrgb(79, 133, 41)
HSLhsl(95, 53%, 34%)
HSVhsv(95, 69%, 52%)
CMYKcmyk(40.6%, 0%, 69.2%, 47.8%)
CIE-LABlab(50.21, -34.48, 42.28)
CIE-LCHlch(50.21, 54.56, 129.20°)
OKLaboklab(55.92% -0.0961 0.0966)
OKLCHoklch(55.92% 0.136 134.9)
XYZxyz(12.0120, 18.5968, 5.0540)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8529 #5F2985
analogous
#7D8529 #4F8529 #298531
triadic
#4F8529 #294F85 #85294F
tetradic
#4F8529 #297D85 #5F2985 #853129
square
#4F8529 #297D85 #5F2985 #853129
split-complementary
#4F8529 #312985 #85297D
monochromatic
#17270C #33561B #4F8529 #6BB437 #8ACD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8529#FFFFFF#000000##000000
##4F85291.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)
#8A7A1C
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#4E8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f8529;
/* rgb */ color: rgb(79, 133, 41);
/* oklch */ color: oklch(55.9% 0.136 134.9);
Tailwind
colors: {
  custom: {
    50: '#85a968',
    500: '#4f8529',
    950: '#000000',
  },
}
SCSS
$custom: #4f8529;
$custom-light: #85a968;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8529",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 95.217,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55919,
    "c": 0.13627,
    "h": 134.9
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#4F8529
secondary
#8D58B2
accent
#4CDCA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8529

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

Preview Lab → · Contrast checker → · Palette generator →

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