#4F8E14#4F8E14

#4F8E14 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.160 H 134.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F8E14
RGBrgb(79, 142, 20)
HSLhsl(91, 75%, 32%)
HSVhsv(91, 86%, 56%)
CMYKcmyk(44.4%, 0%, 85.9%, 44.3%)
CIE-LABlab(53.01, -39.70, 52.28)
CIE-LCHlch(53.01, 65.64, 127.21°)
OKLaboklab(58.17% -0.1116 0.1144)
OKLCHoklch(58.17% 0.16 134.3)
XYZxyz(13.0235, 21.0580, 4.0401)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E14 #53148E
analogous
#8C8E14 #4F8E14 #148E16
triadic
#4F8E14 #144F8E #8E144F
tetradic
#4F8E14 #148C8E #53148E #8E1614
square
#4F8E14 #148C8E #53148E #8E1614
split-complementary
#4F8E14 #16148E #8E148C
monochromatic
#132305 #31580C #4F8E14 #6DC41C #8BE339

Accessibility & contrast

On white

4.03
#4F8E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4F8E14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E14
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E14#FFFFFF#000000##000000
##4F8E141.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#4E8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e14;
/* rgb */ color: rgb(79, 142, 20);
/* oklch */ color: oklch(58.2% 0.160 134.3);
Tailwind
colors: {
  custom: {
    50: '#87af5f',
    500: '#4f8e14',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e14;
$custom-light: #87af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e14",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 90.984,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58173,
    "c": 0.15985,
    "h": 134.3
  },
  "luminance": 0.21059
}

Semantic roles & 50–950 ramp

primary
#4F8E14
secondary
#813CC2
accent
#36F297
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8E14

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

Preview Lab → · Contrast checker → · Palette generator →

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