#4F841B#4F841B

#4F841B is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.144 H 133.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4F841B
RGBrgb(79, 132, 27)
HSLhsl(90, 66%, 31%)
HSVhsv(90, 80%, 52%)
CMYKcmyk(40.2%, 0%, 79.5%, 48.2%)
CIE-LABlab(49.79, -35.04, 47.26)
CIE-LCHlch(49.79, 58.84, 126.55°)
OKLaboklab(55.54% -0.0987 0.1049)
OKLCHoklch(55.54% 0.144 133.2)
XYZxyz(11.6734, 18.2434, 3.9429)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F841B #501B84
analogous
#83841B #4F841B #1B841B
triadic
#4F841B #1B4F84 #841B4F
tetradic
#4F841B #1B8384 #501B84 #841B1B
square
#4F841B #1B8384 #501B84 #841B1B
split-complementary
#4F841B #1B1B84 #841B83
monochromatic
#121E06 #315111 #4F841B #6DB725 #8CD841

Accessibility & contrast

On white

4.52
#4F841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4F841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F841B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F841B#FFFFFF#000000##000000
##4F841B1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#4F7E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f841b;
/* rgb */ color: rgb(79, 132, 27);
/* oklch */ color: oklch(55.5% 0.144 133.2);
Tailwind
colors: {
  custom: {
    50: '#85a860',
    500: '#4f841b',
    950: '#000000',
  },
}
SCSS
$custom: #4f841b;
$custom-light: #85a860;
$custom-dark: #000000;
JSON
{
  "hex": "#4f841b",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 90.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.14405,
    "h": 133.2
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#4F841B
secondary
#7E43B7
accent
#3FE995
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #4F841B

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

Preview Lab → · Contrast checker → · Palette generator →

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