#4F731B#4F731B

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

Color values

HEX#4F731B
RGBrgb(79, 115, 27)
HSLhsl(85, 62%, 28%)
HSVhsv(85, 77%, 45%)
CMYKcmyk(31.3%, 0%, 76.5%, 54.9%)
CIE-LABlab(44.24, -27.17, 41.91)
CIE-LCHlch(44.24, 49.94, 122.96°)
OKLaboklab(51.01% -0.0774 0.0937)
OKLCHoklch(51.01% 0.122 129.6)
XYZxyz(9.5530, 14.0026, 3.2361)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F731B #3F1B73
analogous
#736B1B #4F731B #23731B
triadic
#4F731B #1B4F73 #731B4F
tetradic
#4F731B #1B736B #3F1B73 #731B23
square
#4F731B #1B736B #3F1B73 #731B23
split-complementary
#4F731B #1B2373 #6B1B73
monochromatic
#111906 #2D410F #4F731B #71A527 #92D038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F731B#FFFFFF#000000##FFFFFF
##4F731B1.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)
#796A0A
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#516E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f731b;
/* rgb */ color: rgb(79, 115, 27);
/* oklch */ color: oklch(51.0% 0.122 129.6);
Tailwind
colors: {
  custom: {
    50: '#849b5e',
    500: '#4f731b',
    950: '#000000',
  },
}
SCSS
$custom: #4f731b;
$custom-light: #849b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f731b",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 84.545,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5101,
    "c": 0.12152,
    "h": 129.6
  },
  "luminance": 0.14003
}

Semantic roles & 50–950 ramp

primary
#4F731B
secondary
#6C42A8
accent
#43E585
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F731B

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

Preview Lab → · Contrast checker → · Palette generator →

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