#4F7015#4F7015

#4F7015 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.121 H 128.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4F7015
RGBrgb(79, 112, 21)
HSLhsl(82, 68%, 26%)
HSVhsv(82, 81%, 44%)
CMYKcmyk(29.5%, 0%, 81.2%, 56.1%)
CIE-LABlab(43.22, -26.06, 43.10)
CIE-LCHlch(43.22, 50.37, 121.16°)
OKLaboklab(50.17% -0.0749 0.0952)
OKLCHoklch(50.17% 0.121 128.2)
XYZxyz(9.1540, 13.3045, 2.7951)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7015 #361570
analogous
#706315 #4F7015 #217015
triadic
#4F7015 #154F70 #70154F
tetradic
#4F7015 #157063 #361570 #701521
square
#4F7015 #157063 #361570 #701521
split-complementary
#4F7015 #152170 #631570
monochromatic
#121A05 #2B3C0B #4F7015 #73A41F #98D729

Accessibility & contrast

On white

5.74
#4F7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7015
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7015#FFFFFF#000000##FFFFFF
##4F70151.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#526B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f7015;
/* rgb */ color: rgb(79, 112, 21);
/* oklch */ color: oklch(50.2% 0.121 128.2);
Tailwind
colors: {
  custom: {
    50: '#84995b',
    500: '#4f7015',
    950: '#000000',
  },
}
SCSS
$custom: #4f7015;
$custom-light: #84995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7015",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 81.758,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.1211,
    "h": 128.2
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#4F7015
secondary
#623BA6
accent
#3DEB7C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7015

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

Preview Lab → · Contrast checker → · Palette generator →

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