#4F711B#4F711B

#4F711B is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.119 H 129.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4F711B
RGBrgb(79, 113, 27)
HSLhsl(84, 61%, 27%)
HSVhsv(84, 76%, 44%)
CMYKcmyk(30.1%, 0%, 76.1%, 55.7%)
CIE-LABlab(43.58, -26.19, 41.26)
CIE-LCHlch(43.58, 48.87, 122.41°)
OKLaboklab(50.48% -0.0747 0.0924)
OKLCHoklch(50.48% 0.119 129)
XYZxyz(9.3274, 13.5514, 3.1610)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F711B #3D1B71
analogous
#71681B #4F711B #24711B
triadic
#4F711B #1B4F71 #711B4F
tetradic
#4F711B #1B7168 #3D1B71 #711B24
square
#4F711B #1B7168 #3D1B71 #711B24
split-complementary
#4F711B #1B2471 #681B71
monochromatic
#111906 #2C400F #4F711B #72A227 #93CF37

Accessibility & contrast

On white

5.66
#4F711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F711B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F711B#FFFFFF#000000##FFFFFF
##4F711B1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690B
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#526C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f711b;
/* rgb */ color: rgb(79, 113, 27);
/* oklch */ color: oklch(50.5% 0.119 129.0);
Tailwind
colors: {
  custom: {
    50: '#849a5e',
    500: '#4f711b',
    950: '#000000',
  },
}
SCSS
$custom: #4f711b;
$custom-light: #849a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f711b",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 83.721,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.11879,
    "h": 129
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#4F711B
secondary
#6942A6
accent
#43E583
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F711B

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

Preview Lab → · Contrast checker → · Palette generator →

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