#4D711F#4D711F

#4D711F is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.117 H 130.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4D711F
RGBrgb(77, 113, 31)
HSLhsl(86, 57%, 28%)
HSVhsv(86, 73%, 44%)
CMYKcmyk(31.9%, 0%, 72.6%, 55.7%)
CIE-LABlab(43.49, -26.73, 39.50)
CIE-LCHlch(43.49, 47.69, 124.09°)
OKLaboklab(50.38% -0.0757 0.0894)
OKLCHoklch(50.38% 0.117 130.3)
XYZxyz(9.2130, 13.4867, 3.4138)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D711F #431F71
analogous
#716C1F #4D711F #24711F
triadic
#4D711F #1F4D71 #711F4D
tetradic
#4D711F #1F716C #431F71 #711F24
square
#4D711F #1F716C #431F71 #711F24
split-complementary
#4D711F #1F2471 #6C1F71
monochromatic
#101807 #2C4112 #4D711F #6EA12C #8ECB40

Accessibility & contrast

On white

5.68
#4D711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D711F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D711F#FFFFFF#000000##FFFFFF
##4D711F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#4F6C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d711f;
/* rgb */ color: rgb(77, 113, 31);
/* oklch */ color: oklch(50.4% 0.117 130.3);
Tailwind
colors: {
  custom: {
    50: '#829a60',
    500: '#4d711f',
    950: '#000000',
  },
}
SCSS
$custom: #4d711f;
$custom-light: #829a60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d711f",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 86.341,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.11711,
    "h": 130.3
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#4D711F
secondary
#7047A5
accent
#48E08B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D711F

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

Preview Lab → · Contrast checker → · Palette generator →

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