#4F831C#4F831C

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

Color values

HEX#4F831C
RGBrgb(79, 131, 28)
HSLhsl(90, 65%, 31%)
HSVhsv(90, 79%, 51%)
CMYKcmyk(39.7%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.47, -34.54, 46.62)
CIE-LCHlch(49.47, 58.02, 126.54°)
OKLaboklab(55.28% -0.0973 0.1037)
OKLCHoklch(55.28% 0.142 133.2)
XYZxyz(11.5502, 17.9782, 3.9599)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F831C #501C83
analogous
#82831C #4F831C #1C831C
triadic
#4F831C #1C4F83 #831C4F
tetradic
#4F831C #1C8283 #501C83 #831C1C
square
#4F831C #1C8283 #501C83 #831C1C
split-complementary
#4F831C #1C1C83 #831C82
monochromatic
#121E06 #315111 #4F831C #6DB527 #8CD743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F831C#FFFFFF#000000##000000
##4F831C1.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)
#897803
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#4F7D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f831c;
/* rgb */ color: rgb(79, 131, 28);
/* oklch */ color: oklch(55.3% 0.142 133.2);
Tailwind
colors: {
  custom: {
    50: '#85a761',
    500: '#4f831c',
    950: '#000000',
  },
}
SCSS
$custom: #4f831c;
$custom-light: #85a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4f831c",
  "rgb": {
    "r": 79,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 90.291,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.1422,
    "h": 133.2
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#4F831C
secondary
#7E45B6
accent
#40E895
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4F831C

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

Preview Lab → · Contrast checker → · Palette generator →

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