#4F7E13#4F7E13

#4F7E13 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.140 H 131.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4F7E13
RGBrgb(79, 126, 19)
HSLhsl(86, 74%, 28%)
HSVhsv(86, 85%, 49%)
CMYKcmyk(37.3%, 0%, 84.9%, 50.6%)
CIE-LABlab(47.79, -32.76, 47.90)
CIE-LCHlch(47.79, 58.04, 124.37°)
OKLaboklab(53.9% -0.0931 0.105)
OKLCHoklch(53.9% 0.14 131.6)
XYZxyz(10.8027, 16.6305, 3.2568)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E13 #42137E
analogous
#7E7713 #4F7E13 #197E13
triadic
#4F7E13 #134F7E #7E134F
tetradic
#4F7E13 #137E77 #42137E #7E1319
square
#4F7E13 #137E77 #42137E #7E1319
split-complementary
#4F7E13 #13197E #77137E
monochromatic
#111B04 #2E490B #4F7E13 #70B31B #91DF2C

Accessibility & contrast

On white

4.85
#4F7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4F7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7E13
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7E13#FFFFFF#000000##FFFFFF
##4F7E131.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7e13;
/* rgb */ color: rgb(79, 126, 19);
/* oklch */ color: oklch(53.9% 0.140 131.6);
Tailwind
colors: {
  custom: {
    50: '#85a35c',
    500: '#4f7e13',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e13;
$custom-light: #85a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e13",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 86.355,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.14031,
    "h": 131.6
  },
  "luminance": 0.16631
}

Semantic roles & 50–950 ramp

primary
#4F7E13
secondary
#6F39B4
accent
#37F089
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4F7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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