#4F8013#4F8013

#4F8013 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.143 H 132.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4F8013
RGBrgb(79, 128, 19)
HSLhsl(87, 74%, 29%)
HSVhsv(87, 85%, 50%)
CMYKcmyk(38.3%, 0%, 85.2%, 49.8%)
CIE-LABlab(48.44, -33.67, 48.49)
CIE-LCHlch(48.44, 59.03, 124.78°)
OKLaboklab(54.43% -0.0955 0.1062)
OKLCHoklch(54.43% 0.143 132)
XYZxyz(11.0610, 17.1471, 3.3429)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8013 #441380
analogous
#807B13 #4F8013 #198013
triadic
#4F8013 #134F80 #80134F
tetradic
#4F8013 #13807B #441380 #801319
square
#4F8013 #13807B #441380 #801319
split-complementary
#4F8013 #131980 #7B1380
monochromatic
#101B04 #2E4B0B #4F8013 #70B51B #90E02D

Accessibility & contrast

On white

4.74
#4F8013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4F8013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8013
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8013#FFFFFF#000000##FFFFFF
##4F80131.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#507A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f8013;
/* rgb */ color: rgb(79, 128, 19);
/* oklch */ color: oklch(54.4% 0.143 132.0);
Tailwind
colors: {
  custom: {
    50: '#85a55d',
    500: '#4f8013',
    950: '#000000',
  },
}
SCSS
$custom: #4f8013;
$custom-light: #85a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8013",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 86.972,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5443,
    "c": 0.14285,
    "h": 132
  },
  "luminance": 0.17148
}

Semantic roles & 50–950 ramp

primary
#4F8013
secondary
#7139B5
accent
#37F18B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #4F8013

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

Preview Lab → · Contrast checker → · Palette generator →

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