#4D712D#4D712D

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

Color values

HEX#4D712D
RGBrgb(77, 113, 45)
HSLhsl(92, 43%, 31%)
HSVhsv(92, 60%, 44%)
CMYKcmyk(31.9%, 0%, 60.2%, 55.7%)
CIE-LABlab(43.62, -25.44, 33.11)
CIE-LCHlch(43.62, 41.75, 127.54°)
OKLaboklab(50.53% -0.0709 0.0776)
OKLCHoklch(50.53% 0.105 132.4)
XYZxyz(9.4392, 13.5772, 4.6054)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D712D #512D71
analogous
#6F712D #4D712D #2D712F
triadic
#4D712D #2D4D71 #712D4D
tetradic
#4D712D #2D6F71 #512D71 #712F2D
square
#4D712D #2D6F71 #512D71 #712F2D
split-complementary
#4D712D #2F2D71 #712D6F
monochromatic
#11190A #2F451C #4D712D #6B9D3E #89BE5B

Accessibility & contrast

On white

5.65
#4D712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4D712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D712D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D712D#FFFFFF#000000##FFFFFF
##4D712D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766926
Deuteranopia (green-blind)
#706632
Tritanopia (blue-blind)
#4E6D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d712d;
/* rgb */ color: rgb(77, 113, 45);
/* oklch */ color: oklch(50.5% 0.105 132.4);
Tailwind
colors: {
  custom: {
    50: '#819a68',
    500: '#4d712d',
    950: '#000000',
  },
}
SCSS
$custom: #4d712d;
$custom-light: #819a68;
$custom-dark: #000000;
JSON
{
  "hex": "#4d712d",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 91.765,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.10514,
    "h": 132.4
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#4D712D
secondary
#7F57A3
accent
#55D398
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4D712D

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

Preview Lab → · Contrast checker → · Palette generator →

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