#4F8B1B#4F8B1B

#4F8B1B is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.153 H 134.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F8B1B
RGBrgb(79, 139, 27)
HSLhsl(92, 67%, 33%)
HSVhsv(92, 81%, 55%)
CMYKcmyk(43.2%, 0%, 80.6%, 45.5%)
CIE-LABlab(52.07, -38.09, 49.41)
CIE-LCHlch(52.07, 62.39, 127.63°)
OKLaboklab(57.41% -0.1069 0.1094)
OKLCHoklch(57.41% 0.153 134.3)
XYZxyz(12.6547, 20.2059, 4.2700)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8B1B #571B8B
analogous
#878B1B #4F8B1B #1B8B1F
triadic
#4F8B1B #1B4F8B #8B1B4F
tetradic
#4F8B1B #1B878B #571B8B #8B1F1B
square
#4F8B1B #1B878B #571B8B #8B1F1B
split-complementary
#4F8B1B #1F1B8B #8B1B87
monochromatic
#152507 #325811 #4F8B1B #6CBE25 #8BDB45

Accessibility & contrast

On white

4.17
#4F8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8B1B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8B1B#FFFFFF#000000##000000
##4F8B1B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897A28
Tritanopia (blue-blind)
#4E8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8b1b;
/* rgb */ color: rgb(79, 139, 27);
/* oklch */ color: oklch(57.4% 0.153 134.3);
Tailwind
colors: {
  custom: {
    50: '#86ad62',
    500: '#4f8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #4f8b1b;
$custom-light: #86ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8b1b",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 92.143,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57409,
    "c": 0.15298,
    "h": 134.3
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#4F8B1B
secondary
#8545BC
accent
#3DEA9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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