#4F7E16#4F7E16

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

Color values

HEX#4F7E16
RGBrgb(79, 126, 22)
HSLhsl(87, 70%, 29%)
HSVhsv(87, 83%, 49%)
CMYKcmyk(37.3%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.81, -32.62, 47.03)
CIE-LCHlch(47.81, 57.23, 124.75°)
OKLaboklab(53.91% -0.0925 0.1036)
OKLCHoklch(53.91% 0.139 131.8)
XYZxyz(10.8300, 16.6415, 3.4004)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E16 #45167E
analogous
#7E7916 #4F7E16 #1B7E16
triadic
#4F7E16 #164F7E #7E164F
tetradic
#4F7E16 #167E79 #45167E #7E161B
square
#4F7E16 #167E79 #45167E #7E161B
split-complementary
#4F7E16 #161B7E #79167E
monochromatic
#101A05 #2E4A0D #4F7E16 #70B21F #8FDB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7E16#FFFFFF#000000##FFFFFF
##4F7E161.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)
#7D7022
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7e16;
/* rgb */ color: rgb(79, 126, 22);
/* oklch */ color: oklch(53.9% 0.139 131.8);
Tailwind
colors: {
  custom: {
    50: '#85a35d',
    500: '#4f7e16',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e16;
$custom-light: #85a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e16",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 87.115,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.13891,
    "h": 131.8
  },
  "luminance": 0.16642
}

Semantic roles & 50–950 ramp

primary
#4F7E16
secondary
#723DB3
accent
#3BED8B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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