#4F7E14#4F7E14

#4F7E14 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#4F7E14
RGBrgb(79, 126, 20)
HSLhsl(87, 73%, 29%)
HSVhsv(87, 84%, 49%)
CMYKcmyk(37.3%, 0%, 84.1%, 50.6%)
CIE-LABlab(47.80, -32.72, 47.62)
CIE-LCHlch(47.80, 57.78, 124.49°)
OKLaboklab(53.9% -0.0929 0.1045)
OKLCHoklch(53.9% 0.14 131.6)
XYZxyz(10.8115, 16.6340, 3.3027)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E14 #43147E
analogous
#7E7814 #4F7E14 #1A7E14
triadic
#4F7E14 #144F7E #7E144F
tetradic
#4F7E14 #147E78 #43147E #7E141A
square
#4F7E14 #147E78 #43147E #7E141A
split-complementary
#4F7E14 #141A7E #78147E
monochromatic
#111A04 #2E490C #4F7E14 #70B31C #90DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7E14#FFFFFF#000000##FFFFFF
##4F7E141.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: #4f7e14;
/* rgb */ color: rgb(79, 126, 20);
/* oklch */ color: oklch(53.9% 0.140 131.6);
Tailwind
colors: {
  custom: {
    50: '#85a35d',
    500: '#4f7e14',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e14;
$custom-light: #85a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e14",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 86.604,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.539,
    "c": 0.13986,
    "h": 131.6
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#4F7E14
secondary
#703AB3
accent
#38EF8A
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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