#4D712F#4D712F

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

Color values

HEX#4D712F
RGBrgb(77, 113, 47)
HSLhsl(93, 41%, 31%)
HSVhsv(93, 58%, 44%)
CMYKcmyk(31.9%, 0%, 58.4%, 55.7%)
CIE-LABlab(43.64, -25.22, 32.12)
CIE-LCHlch(43.64, 40.83, 128.14°)
OKLaboklab(50.56% -0.0701 0.0757)
OKLCHoklch(50.56% 0.103 132.8)
XYZxyz(9.4786, 13.5930, 4.8131)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D712F #532F71
analogous
#6E712F #4D712F #2F7132
triadic
#4D712F #2F4D71 #712F4D
tetradic
#4D712F #2F6E71 #532F71 #71322F
square
#4D712F #2F6E71 #532F71 #71322F
split-complementary
#4D712F #322F71 #712F6E
monochromatic
#121B0B #30461D #4D712F #6A9C41 #89BC5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D712F#FFFFFF#000000##FFFFFF
##4D712F1.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)
#756928
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#4E6D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d712f;
/* rgb */ color: rgb(77, 113, 47);
/* oklch */ color: oklch(50.6% 0.103 132.8);
Tailwind
colors: {
  custom: {
    50: '#819a6a',
    500: '#4d712f',
    950: '#000000',
  },
}
SCSS
$custom: #4d712f;
$custom-light: #819a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d712f",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 92.727,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.10319,
    "h": 132.8
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#4D712F
secondary
#815AA2
accent
#57D199
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4D712F

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

Preview Lab → · Contrast checker → · Palette generator →

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