#4F7B16#4F7B16

#4F7B16 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.135 H 131.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4F7B16
RGBrgb(79, 123, 22)
HSLhsl(86, 70%, 28%)
HSVhsv(86, 82%, 48%)
CMYKcmyk(35.8%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.82, -31.25, 46.12)
CIE-LCHlch(46.82, 55.71, 124.12°)
OKLaboklab(53.11% -0.0888 0.1017)
OKLCHoklch(53.11% 0.135 131.1)
XYZxyz(10.4521, 15.8857, 3.2744)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7B16 #42167B
analogous
#7B7416 #4F7B16 #1C7B16
triadic
#4F7B16 #164F7B #7B164F
tetradic
#4F7B16 #167B74 #42167B #7B161C
square
#4F7B16 #167B74 #42167B #7B161C
split-complementary
#4F7B16 #161C7B #74167B
monochromatic
#111A05 #2E470D #4F7B16 #70AF1F #91DA31

Accessibility & contrast

On white

5.03
#4F7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4F7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7B16
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7B16#FFFFFF#000000##FFFFFF
##4F7B161.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#517568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f7b16;
/* rgb */ color: rgb(79, 123, 22);
/* oklch */ color: oklch(53.1% 0.135 131.1);
Tailwind
colors: {
  custom: {
    50: '#85a15d',
    500: '#4f7b16',
    950: '#000000',
  },
}
SCSS
$custom: #4f7b16;
$custom-light: #85a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7b16",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 86.139,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.13503,
    "h": 131.1
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#4F7B16
secondary
#6F3DB0
accent
#3BEC89
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4F7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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