#4F7D14#4F7D14

#4F7D14 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.139 H 131.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4F7D14
RGBrgb(79, 125, 20)
HSLhsl(86, 72%, 28%)
HSVhsv(86, 84%, 49%)
CMYKcmyk(36.8%, 0%, 84%, 51%)
CIE-LABlab(47.47, -32.26, 47.32)
CIE-LCHlch(47.47, 57.28, 124.29°)
OKLaboklab(53.63% -0.0917 0.1039)
OKLCHoklch(53.63% 0.139 131.4)
XYZxyz(10.6842, 16.3796, 3.2603)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D14 #42147D
analogous
#7D7614 #4F7D14 #1A7D14
triadic
#4F7D14 #144F7D #7D144F
tetradic
#4F7D14 #147D76 #42147D #7D141A
square
#4F7D14 #147D76 #42147D #7D141A
split-complementary
#4F7D14 #141A7D #76147D
monochromatic
#111A04 #2E480C #4F7D14 #70B21C #91DE2E

Accessibility & contrast

On white

4.91
#4F7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4F7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D14
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D14#FFFFFF#000000##FFFFFF
##4F7D141.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D6F20
Tritanopia (blue-blind)
#50776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d14;
/* rgb */ color: rgb(79, 125, 20);
/* oklch */ color: oklch(53.6% 0.139 131.4);
Tailwind
colors: {
  custom: {
    50: '#85a35c',
    500: '#4f7d14',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d14;
$custom-light: #85a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d14",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 86.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.13858,
    "h": 131.4
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#4F7D14
secondary
#6F3AB2
accent
#39EF89
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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