#4F8A1B#4F8A1B

#4F8A1B is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.152 H 134.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F8A1B
RGBrgb(79, 138, 27)
HSLhsl(92, 67%, 32%)
HSVhsv(92, 80%, 54%)
CMYKcmyk(42.8%, 0%, 80.4%, 45.9%)
CIE-LABlab(51.74, -37.66, 49.11)
CIE-LCHlch(51.74, 61.88, 127.48°)
OKLaboklab(57.14% -0.1057 0.1088)
OKLCHoklch(57.14% 0.152 134.2)
XYZxyz(12.5105, 19.9177, 4.2220)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A1B #561B8A
analogous
#878A1B #4F8A1B #1B8A1F
triadic
#4F8A1B #1B4F8A #8A1B4F
tetradic
#4F8A1B #1B878A #561B8A #8A1F1B
square
#4F8A1B #1B878A #561B8A #8A1F1B
split-complementary
#4F8A1B #1F1B8A #8A1B87
monochromatic
#142407 #325711 #4F8A1B #6CBD25 #8BDB45

Accessibility & contrast

On white

4.21
#4F8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4F8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A1B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A1B#FFFFFF#000000##000000
##4F8A1B1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#4E8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8a1b;
/* rgb */ color: rgb(79, 138, 27);
/* oklch */ color: oklch(57.1% 0.152 134.2);
Tailwind
colors: {
  custom: {
    50: '#86ac61',
    500: '#4f8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a1b;
$custom-light: #86ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a1b",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 91.892,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.15172,
    "h": 134.2
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#4F8A1B
secondary
#8445BC
accent
#3EEA99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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