#4F7320#4F7320

#4F7320 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.1% C 0.118 H 130.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4F7320
RGBrgb(79, 115, 32)
HSLhsl(86, 56%, 29%)
HSVhsv(86, 72%, 45%)
CMYKcmyk(31.3%, 0%, 72.2%, 54.9%)
CIE-LABlab(44.27, -26.82, 39.92)
CIE-LCHlch(44.27, 48.09, 123.89°)
OKLaboklab(51.05% -0.076 0.0904)
OKLCHoklch(51.05% 0.118 130.1)
XYZxyz(9.6158, 14.0277, 3.5672)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7320 #442073
analogous
#736E20 #4F7320 #267320
triadic
#4F7320 #204F73 #73204F
tetradic
#4F7320 #20736E #442073 #732026
square
#4F7320 #20736E #442073 #732026
split-complementary
#4F7320 #202673 #6E2073
monochromatic
#101807 #2E4313 #4F7320 #70A32D #90CB43

Accessibility & contrast

On white

5.52
#4F7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4F7320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7320
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7320#FFFFFF#000000##FFFFFF
##4F73201.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#516E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7320;
/* rgb */ color: rgb(79, 115, 32);
/* oklch */ color: oklch(51.1% 0.118 130.1);
Tailwind
colors: {
  custom: {
    50: '#839b61',
    500: '#4f7320',
    950: '#000000',
  },
}
SCSS
$custom: #4f7320;
$custom-light: #839b61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7320",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 86.024,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.11805,
    "h": 130.1
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#4F7320
secondary
#7148A7
accent
#48E08A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7320

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

Preview Lab → · Contrast checker → · Palette generator →

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