#4F8532#4F8532

#4F8532 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.129 H 136.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4F8532
RGBrgb(79, 133, 50)
HSLhsl(99, 45%, 36%)
HSVhsv(99, 62%, 52%)
CMYKcmyk(40.6%, 0%, 62.4%, 47.8%)
CIE-LABlab(50.30, -33.62, 38.29)
CIE-LCHlch(50.30, 50.96, 131.29°)
OKLaboklab(56.01% -0.0931 0.0893)
OKLCHoklch(56.01% 0.129 136.2)
XYZxyz(12.1874, 18.6670, 5.9779)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8532 #683285
analogous
#788532 #4F8532 #32853E
triadic
#4F8532 #324F85 #85324F
tetradic
#4F8532 #327885 #683285 #853E32
square
#4F8532 #327885 #683285 #853E32
split-complementary
#4F8532 #3E3285 #853278
monochromatic
#1A2C11 #355921 #4F8532 #69B143 #8BC76A

Accessibility & contrast

On white

4.44
#4F8532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4F8532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8532
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8532#FFFFFF#000000##000000
##4F85321.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B29
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#4D8073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f8532;
/* rgb */ color: rgb(79, 133, 50);
/* oklch */ color: oklch(56.0% 0.129 136.2);
Tailwind
colors: {
  custom: {
    50: '#84a96d',
    500: '#4f8532',
    950: '#000000',
  },
}
SCSS
$custom: #4f8532;
$custom-light: #84a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8532",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 99.036,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56013,
    "c": 0.12895,
    "h": 136.2
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#4F8532
secondary
#9564AF
accent
#53D5A8
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8532

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

Preview Lab → · Contrast checker → · Palette generator →

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