#4F712B#4F712B

#4F712B is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.106 H 131.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4F712B
RGBrgb(79, 113, 43)
HSLhsl(89, 45%, 31%)
HSVhsv(89, 62%, 44%)
CMYKcmyk(30.1%, 0%, 61.9%, 55.7%)
CIE-LABlab(43.72, -24.85, 34.26)
CIE-LCHlch(43.72, 42.32, 125.95°)
OKLaboklab(50.64% -0.0696 0.0799)
OKLCHoklch(50.64% 0.106 131.1)
XYZxyz(9.5655, 13.6467, 4.4151)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F712B #4D2B71
analogous
#71702B #4F712B #2C712B
triadic
#4F712B #2B4F71 #712B4F
tetradic
#4F712B #2B7170 #4D2B71 #712B2C
square
#4F712B #2B7170 #4D2B71 #712B2C
split-complementary
#4F712B #2B2C71 #702B71
monochromatic
#111809 #30451A #4F712B #6E9D3C #8DBF57

Accessibility & contrast

On white

5.63
#4F712B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4F712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F712B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F712B#FFFFFF#000000##FFFFFF
##4F712B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766923
Deuteranopia (green-blind)
#716630
Tritanopia (blue-blind)
#506C62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f712b;
/* rgb */ color: rgb(79, 113, 43);
/* oklch */ color: oklch(50.6% 0.106 131.1);
Tailwind
colors: {
  custom: {
    50: '#839a67',
    500: '#4f712b',
    950: '#000000',
  },
}
SCSS
$custom: #4f712b;
$custom-light: #839a67;
$custom-dark: #000000;
JSON
{
  "hex": "#4f712b",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 89.143,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.10592,
    "h": 131.1
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#4F712B
secondary
#7B55A3
accent
#53D592
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F712B

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

Preview Lab → · Contrast checker → · Palette generator →

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