#4F7420#4F7420

#4F7420 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.119 H 130.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F7420
RGBrgb(79, 116, 32)
HSLhsl(86, 57%, 29%)
HSVhsv(86, 72%, 45%)
CMYKcmyk(31.9%, 0%, 72.4%, 54.5%)
CIE-LABlab(44.60, -27.30, 40.26)
CIE-LCHlch(44.60, 48.64, 124.14°)
OKLaboklab(51.32% -0.0773 0.0911)
OKLCHoklch(51.32% 0.119 130.3)
XYZxyz(9.7305, 14.2570, 3.6054)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7420 #452074
analogous
#746F20 #4F7420 #257420
triadic
#4F7420 #204F74 #74204F
tetradic
#4F7420 #20746F #452074 #742025
square
#4F7420 #20746F #452074 #742025
split-complementary
#4F7420 #202574 #6F2074
monochromatic
#101807 #2E4413 #4F7420 #70A42D #8FCB43

Accessibility & contrast

On white

5.45
#4F7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4F7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7420
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7420#FFFFFF#000000##FFFFFF
##4F74201.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#516F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7420;
/* rgb */ color: rgb(79, 116, 32);
/* oklch */ color: oklch(51.3% 0.119 130.3);
Tailwind
colors: {
  custom: {
    50: '#849c61',
    500: '#4f7420',
    950: '#000000',
  },
}
SCSS
$custom: #4f7420;
$custom-light: #849c61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7420",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 86.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.11944,
    "h": 130.3
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#4F7420
secondary
#7248A8
accent
#48E08B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7420

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

Preview Lab → · Contrast checker → · Palette generator →

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