#4F731A#4F731A

#4F731A is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.122 H 129.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F731A
RGBrgb(79, 115, 26)
HSLhsl(84, 63%, 28%)
HSVhsv(84, 77%, 45%)
CMYKcmyk(31.3%, 0%, 77.4%, 54.9%)
CIE-LABlab(44.23, -27.23, 42.28)
CIE-LCHlch(44.23, 50.29, 122.79°)
OKLaboklab(51% -0.0776 0.0943)
OKLCHoklch(51% 0.122 129.5)
XYZxyz(9.5416, 13.9980, 3.1763)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F731A #3E1A73
analogous
#736B1A #4F731A #22731A
triadic
#4F731A #1A4F73 #731A4F
tetradic
#4F731A #1A736B #3E1A73 #731A22
square
#4F731A #1A736B #3E1A73 #731A22
split-complementary
#4F731A #1A2273 #6B1A73
monochromatic
#111906 #2D410F #4F731A #71A525 #93D236

Accessibility & contrast

On white

5.53
#4F731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F731A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F731A#FFFFFF#000000##FFFFFF
##4F731A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f731a;
/* rgb */ color: rgb(79, 115, 26);
/* oklch */ color: oklch(51.0% 0.122 129.5);
Tailwind
colors: {
  custom: {
    50: '#849b5e',
    500: '#4f731a',
    950: '#000000',
  },
}
SCSS
$custom: #4f731a;
$custom-light: #849b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f731a",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 84.27,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51003,
    "c": 0.12215,
    "h": 129.5
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#4F731A
secondary
#6B41A8
accent
#42E684
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F731A

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

Preview Lab → · Contrast checker → · Palette generator →

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