#4F831F#4F831F

#4F831F is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.140 H 133.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4F831F
RGBrgb(79, 131, 31)
HSLhsl(91, 62%, 32%)
HSVhsv(91, 76%, 51%)
CMYKcmyk(39.7%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.49, -34.35, 45.56)
CIE-LCHlch(49.49, 57.05, 127.01°)
OKLaboklab(55.3% -0.0965 0.102)
OKLCHoklch(55.3% 0.14 133.4)
XYZxyz(11.5879, 17.9932, 4.1585)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F831F #531F83
analogous
#81831F #4F831F #1F8321
triadic
#4F831F #1F4F83 #831F4F
tetradic
#4F831F #1F8183 #531F83 #83211F
square
#4F831F #1F8183 #531F83 #83211F
split-complementary
#4F831F #211F83 #831F81
monochromatic
#132008 #315213 #4F831F #6DB42B #8BD449

Accessibility & contrast

On white

4.57
#4F831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4F831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F831F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F831F#FFFFFF#000000##000000
##4F831F1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#4F7E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f831f;
/* rgb */ color: rgb(79, 131, 31);
/* oklch */ color: oklch(55.3% 0.140 133.4);
Tailwind
colors: {
  custom: {
    50: '#85a762',
    500: '#4f831f',
    950: '#000000',
  },
}
SCSS
$custom: #4f831f;
$custom-light: #85a762;
$custom-dark: #000000;
JSON
{
  "hex": "#4f831f",
  "rgb": {
    "r": 79,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 91.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55303,
    "c": 0.14043,
    "h": 133.4
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#4F831F
secondary
#8148B6
accent
#43E597
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4F831F

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

Preview Lab → · Contrast checker → · Palette generator →

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