#4F811A#4F811A

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

Color values

HEX#4F811A
RGBrgb(79, 129, 26)
HSLhsl(89, 66%, 30%)
HSVhsv(89, 80%, 51%)
CMYKcmyk(38.8%, 0%, 79.8%, 49.4%)
CIE-LABlab(48.81, -33.76, 46.67)
CIE-LCHlch(48.81, 57.60, 125.88°)
OKLaboklab(54.74% -0.0953 0.1035)
OKLCHoklch(54.74% 0.141 132.6)
XYZxyz(11.2610, 17.4369, 3.7494)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F811A #4C1A81
analogous
#817F1A #4F811A #1B811A
triadic
#4F811A #1A4F81 #811A4F
tetradic
#4F811A #1A817F #4C1A81 #811A1B
square
#4F811A #1A817F #4C1A81 #811A1B
split-complementary
#4F811A #1A1B81 #7F1A81
monochromatic
#111B05 #304E10 #4F811A #6EB424 #8DD83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F811A#FFFFFF#000000##FFFFFF
##4F811A1.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)
#877600
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#507B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f811a;
/* rgb */ color: rgb(79, 129, 26);
/* oklch */ color: oklch(54.7% 0.141 132.6);
Tailwind
colors: {
  custom: {
    50: '#85a660',
    500: '#4f811a',
    950: '#000000',
  },
}
SCSS
$custom: #4f811a;
$custom-light: #85a660;
$custom-dark: #000000;
JSON
{
  "hex": "#4f811a",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 89.126,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.14071,
    "h": 132.6
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#4F811A
secondary
#7A42B5
accent
#3EE991
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F811A

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

Preview Lab → · Contrast checker → · Palette generator →

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