#4F8F14#4F8F14

#4F8F14 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.4% C 0.161 H 134.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F8F14
RGBrgb(79, 143, 20)
HSLhsl(91, 75%, 32%)
HSVhsv(91, 86%, 56%)
CMYKcmyk(44.8%, 0%, 86%, 43.9%)
CIE-LABlab(53.34, -40.12, 52.57)
CIE-LCHlch(53.34, 66.13, 127.35°)
OKLaboklab(58.44% -0.1128 0.115)
OKLCHoklch(58.44% 0.161 134.4)
XYZxyz(13.1729, 21.3569, 4.0899)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8F14 #54148F
analogous
#8C8F14 #4F8F14 #148F17
triadic
#4F8F14 #144F8F #8F144F
tetradic
#4F8F14 #148C8F #54148F #8F1714
square
#4F8F14 #148C8F #54148F #8F1714
split-complementary
#4F8F14 #17148F #8F148C
monochromatic
#142405 #31590C #4F8F14 #6DC51C #8BE33A

Accessibility & contrast

On white

3.98
#4F8F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4F8F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8F14
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8F14#FFFFFF#000000##000000
##4F8F141.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E24
Tritanopia (blue-blind)
#4E8979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8f14;
/* rgb */ color: rgb(79, 143, 20);
/* oklch */ color: oklch(58.4% 0.161 134.4);
Tailwind
colors: {
  custom: {
    50: '#87b05f',
    500: '#4f8f14',
    950: '#000000',
  },
}
SCSS
$custom: #4f8f14;
$custom-light: #87b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8f14",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 91.22,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.16107,
    "h": 134.4
  },
  "luminance": 0.21358
}

Semantic roles & 50–950 ramp

primary
#4F8F14
secondary
#823CC3
accent
#36F298
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8F14

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

Preview Lab → · Contrast checker → · Palette generator →

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