#4F811B#4F811B

#4F811B is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.140 H 132.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4F811B
RGBrgb(79, 129, 27)
HSLhsl(89, 65%, 31%)
HSVhsv(89, 79%, 51%)
CMYKcmyk(38.8%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.81, -33.70, 46.33)
CIE-LCHlch(48.81, 57.29, 126.03°)
OKLaboklab(54.74% -0.0951 0.103)
OKLCHoklch(54.74% 0.14 132.7)
XYZxyz(11.2724, 17.4414, 3.8093)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F811B #4D1B81
analogous
#81801B #4F811B #1C811B
triadic
#4F811B #1B4F81 #811B4F
tetradic
#4F811B #1B8180 #4D1B81 #811B1C
square
#4F811B #1B8180 #4D1B81 #811B1C
split-complementary
#4F811B #1B1C81 #801B81
monochromatic
#111C06 #304E10 #4F811B #6EB426 #8DD73F

Accessibility & contrast

On white

4.68
#4F811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4F811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F811B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F811B#FFFFFF#000000##FFFFFF
##4F811B1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877602
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#507C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f811b;
/* rgb */ color: rgb(79, 129, 27);
/* oklch */ color: oklch(54.7% 0.140 132.7);
Tailwind
colors: {
  custom: {
    50: '#85a660',
    500: '#4f811b',
    950: '#000000',
  },
}
SCSS
$custom: #4f811b;
$custom-light: #85a660;
$custom-dark: #000000;
JSON
{
  "hex": "#4f811b",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 89.412,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54742,
    "c": 0.14016,
    "h": 132.7
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#4F811B
secondary
#7B43B5
accent
#3FE892
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F811B

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

Preview Lab → · Contrast checker → · Palette generator →

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