#4F811E#4F811E

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

Color values

HEX#4F811E
RGBrgb(79, 129, 30)
HSLhsl(90, 62%, 31%)
HSVhsv(90, 77%, 51%)
CMYKcmyk(38.8%, 0%, 76.7%, 49.4%)
CIE-LABlab(48.83, -33.52, 45.28)
CIE-LCHlch(48.83, 56.34, 126.51°)
OKLaboklab(54.76% -0.0943 0.1013)
OKLCHoklch(54.76% 0.138 133)
XYZxyz(11.3089, 17.4560, 4.0015)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F811E #501E81
analogous
#80811E #4F811E #1E811E
triadic
#4F811E #1E4F81 #811E4F
tetradic
#4F811E #1E8081 #501E81 #811E1E
square
#4F811E #1E8081 #501E81 #811E1E
split-complementary
#4F811E #1E1E81 #811E80
monochromatic
#121E07 #314F12 #4F811E #6DB32A #8CD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F811E#FFFFFF#000000##FFFFFF
##4F811E1.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)
#867709
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#4F7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f811e;
/* rgb */ color: rgb(79, 129, 30);
/* oklch */ color: oklch(54.8% 0.138 133.0);
Tailwind
colors: {
  custom: {
    50: '#85a661',
    500: '#4f811e',
    950: '#000000',
  },
}
SCSS
$custom: #4f811e;
$custom-light: #85a661;
$custom-dark: #000000;
JSON
{
  "hex": "#4f811e",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 90.303,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.1384,
    "h": 133
  },
  "luminance": 0.17457
}

Semantic roles & 50–950 ramp

primary
#4F811E
secondary
#7E47B4
accent
#42E595
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4F811E

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

Preview Lab → · Contrast checker → · Palette generator →

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