#4F811D#4F811D

#4F811D is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.139 H 132.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4F811D
RGBrgb(79, 129, 29)
HSLhsl(90, 63%, 31%)
HSVhsv(90, 78%, 51%)
CMYKcmyk(38.8%, 0%, 77.5%, 49.4%)
CIE-LABlab(48.82, -33.58, 45.64)
CIE-LCHlch(48.82, 56.66, 126.35°)
OKLaboklab(54.76% -0.0946 0.1019)
OKLCHoklch(54.76% 0.139 132.9)
XYZxyz(11.2963, 17.4510, 3.9353)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F811D #4F1D81
analogous
#81811D #4F811D #1D811D
triadic
#4F811D #1D4F81 #811D4F
tetradic
#4F811D #1D8181 #4F1D81 #811D1D
square
#4F811D #1D8181 #4F1D81 #811D1D
split-complementary
#4F811D #1D1D81 #811D81
monochromatic
#121D07 #304F12 #4F811D #6EB328 #8CD544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F811D#FFFFFF#000000##FFFFFF
##4F811D1.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)
#877607
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#4F7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f811d;
/* rgb */ color: rgb(79, 129, 29);
/* oklch */ color: oklch(54.8% 0.139 132.9);
Tailwind
colors: {
  custom: {
    50: '#85a661',
    500: '#4f811d',
    950: '#000000',
  },
}
SCSS
$custom: #4f811d;
$custom-light: #85a661;
$custom-dark: #000000;
JSON
{
  "hex": "#4f811d",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 90,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.13901,
    "h": 132.9
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#4F811D
secondary
#7D46B4
accent
#41E694
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4F811D

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

Preview Lab → · Contrast checker → · Palette generator →

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