#4F8E13#4F8E13

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

Color values

HEX#4F8E13
RGBrgb(79, 142, 19)
HSLhsl(91, 76%, 32%)
HSVhsv(91, 87%, 56%)
CMYKcmyk(44.4%, 0%, 86.6%, 44.3%)
CIE-LABlab(53.01, -39.74, 52.53)
CIE-LCHlch(53.01, 65.87, 127.11°)
OKLaboklab(58.17% -0.1118 0.1148)
OKLCHoklch(58.17% 0.16 134.2)
XYZxyz(13.0147, 21.0545, 3.9941)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E13 #52138E
analogous
#8D8E13 #4F8E13 #138E15
triadic
#4F8E13 #134F8E #8E134F
tetradic
#4F8E13 #138D8E #52138E #8E1513
square
#4F8E13 #138D8E #52138E #8E1513
split-complementary
#4F8E13 #15138E #8E138D
monochromatic
#132205 #31580C #4F8E13 #6DC41A #8CE437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8E13#FFFFFF#000000##000000
##4F8E131.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)
#8B7D23
Tritanopia (blue-blind)
#4E8878
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e13;
/* rgb */ color: rgb(79, 142, 19);
/* oklch */ color: oklch(58.2% 0.160 134.2);
Tailwind
colors: {
  custom: {
    50: '#87af5f',
    500: '#4f8e13',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e13;
$custom-light: #87af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e13",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 90.732,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.16022,
    "h": 134.2
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#4F8E13
secondary
#803BC2
accent
#35F396
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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