#4F8D14#4F8D14

#4F8D14 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.159 H 134.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F8D14
RGBrgb(79, 141, 20)
HSLhsl(91, 75%, 32%)
HSVhsv(91, 86%, 55%)
CMYKcmyk(44%, 0%, 85.8%, 44.7%)
CIE-LABlab(52.69, -39.28, 51.99)
CIE-LCHlch(52.69, 65.16, 127.07°)
OKLaboklab(57.91% -0.1105 0.1138)
OKLCHoklch(57.91% 0.159 134.2)
XYZxyz(12.8754, 20.7618, 3.9907)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D14 #52148D
analogous
#8C8D14 #4F8D14 #148D16
triadic
#4F8D14 #144F8D #8D144F
tetradic
#4F8D14 #148C8D #52148D #8D1614
square
#4F8D14 #148C8D #52148D #8D1614
split-complementary
#4F8D14 #16148D #8D148C
monochromatic
#132205 #31570C #4F8D14 #6DC31C #8CE339

Accessibility & contrast

On white

4.08
#4F8D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4F8D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D14
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D14#FFFFFF#000000##000000
##4F8D141.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#4E8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d14;
/* rgb */ color: rgb(79, 141, 20);
/* oklch */ color: oklch(57.9% 0.159 134.2);
Tailwind
colors: {
  custom: {
    50: '#87af5f',
    500: '#4f8d14',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d14;
$custom-light: #87af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d14",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 90.744,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57906,
    "c": 0.15862,
    "h": 134.2
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#4F8D14
secondary
#803CC1
accent
#36F296
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8D14

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

Preview Lab → · Contrast checker → · Palette generator →

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