#4F731F#4F731F

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

Color values

HEX#4F731F
RGBrgb(79, 115, 31)
HSLhsl(86, 58%, 29%)
HSVhsv(86, 73%, 45%)
CMYKcmyk(31.3%, 0%, 73%, 54.9%)
CIE-LABlab(44.27, -26.89, 40.33)
CIE-LCHlch(44.27, 48.48, 123.69°)
OKLaboklab(51.04% -0.0763 0.0911)
OKLCHoklch(51.04% 0.119 130)
XYZxyz(9.6025, 14.0224, 3.4967)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F731F #431F73
analogous
#736D1F #4F731F #25731F
triadic
#4F731F #1F4F73 #731F4F
tetradic
#4F731F #1F736D #431F73 #731F25
square
#4F731F #1F736D #431F73 #731F25
split-complementary
#4F731F #1F2573 #6D1F73
monochromatic
#111806 #2E4312 #4F731F #70A32C #90CC41

Accessibility & contrast

On white

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

On black

3.80
#4F731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F731F#FFFFFF#000000##FFFFFF
##4F731F1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A12
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#516E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f731f;
/* rgb */ color: rgb(79, 115, 31);
/* oklch */ color: oklch(51.0% 0.119 130.0);
Tailwind
colors: {
  custom: {
    50: '#849b60',
    500: '#4f731f',
    950: '#000000',
  },
}
SCSS
$custom: #4f731f;
$custom-light: #849b60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f731f",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 85.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.11877,
    "h": 130
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

primary
#4F731F
secondary
#7047A7
accent
#47E189
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F731F

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

Preview Lab → · Contrast checker → · Palette generator →

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