#4F7F1B#4F7F1B

#4F7F1B is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.138 H 132.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4F7F1B
RGBrgb(79, 127, 27)
HSLhsl(89, 65%, 30%)
HSVhsv(89, 79%, 50%)
CMYKcmyk(37.8%, 0%, 78.7%, 50.2%)
CIE-LABlab(48.16, -32.80, 45.71)
CIE-LCHlch(48.16, 56.26, 125.66°)
OKLaboklab(54.21% -0.0926 0.1017)
OKLCHoklch(54.21% 0.138 132.3)
XYZxyz(11.0115, 16.9197, 3.7223)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7F1B #4B1B7F
analogous
#7F7D1B #4F7F1B #1D7F1B
triadic
#4F7F1B #1B4F7F #7F1B4F
tetradic
#4F7F1B #1B7F7D #4B1B7F #7F1B1D
square
#4F7F1B #1B7F7D #4B1B7F #7F1B1D
split-complementary
#4F7F1B #1B1D7F #7D1B7F
monochromatic
#101A06 #304D10 #4F7F1B #6EB126 #8DD63E

Accessibility & contrast

On white

4.79
#4F7F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4F7F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7F1B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7F1B#FFFFFF#000000##FFFFFF
##4F7F1B1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857503
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#507A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7f1b;
/* rgb */ color: rgb(79, 127, 27);
/* oklch */ color: oklch(54.2% 0.138 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a460',
    500: '#4f7f1b',
    950: '#000000',
  },
}
SCSS
$custom: #4f7f1b;
$custom-light: #85a460;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7f1b",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 88.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.13755,
    "h": 132.3
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#4F7F1B
secondary
#7943B3
accent
#40E891
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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