#4F851B#4F851B

#4F851B is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.145 H 133.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4F851B
RGBrgb(79, 133, 27)
HSLhsl(91, 66%, 31%)
HSVhsv(91, 80%, 52%)
CMYKcmyk(40.6%, 0%, 79.7%, 47.8%)
CIE-LABlab(50.12, -35.48, 47.57)
CIE-LCHlch(50.12, 59.35, 126.72°)
OKLaboklab(55.81% -0.0999 0.1056)
OKLCHoklch(55.81% 0.145 133.4)
XYZxyz(11.8096, 18.5159, 3.9884)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F851B #511B85
analogous
#84851B #4F851B #1B851C
triadic
#4F851B #1B4F85 #851B4F
tetradic
#4F851B #1B8485 #511B85 #851C1B
square
#4F851B #1B8485 #511B85 #851C1B
split-complementary
#4F851B #1C1B85 #851B84
monochromatic
#131F06 #315211 #4F851B #6DB825 #8CD942

Accessibility & contrast

On white

4.47
#4F851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4F851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F851B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F851B#FFFFFF#000000##000000
##4F851B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#4F7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f851b;
/* rgb */ color: rgb(79, 133, 27);
/* oklch */ color: oklch(55.8% 0.145 133.4);
Tailwind
colors: {
  custom: {
    50: '#85a961',
    500: '#4f851b',
    950: '#000000',
  },
}
SCSS
$custom: #4f851b;
$custom-light: #85a961;
$custom-dark: #000000;
JSON
{
  "hex": "#4f851b",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 90.566,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.14534,
    "h": 133.4
  },
  "luminance": 0.18516
}

Semantic roles & 50–950 ramp

primary
#4F851B
secondary
#7F44B8
accent
#3FE996
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F851B

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

Preview Lab → · Contrast checker → · Palette generator →

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