#47712F#47712F

#47712F is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.107 H 135.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#47712F
RGBrgb(71, 113, 47)
HSLhsl(98, 41%, 31%)
HSVhsv(98, 58%, 44%)
CMYKcmyk(37.2%, 0%, 58.4%, 55.7%)
CIE-LABlab(43.29, -27.54, 31.62)
CIE-LCHlch(43.29, 41.93, 131.05°)
OKLaboklab(50.18% -0.0761 0.0747)
OKLCHoklch(50.18% 0.107 135.6)
XYZxyz(9.0165, 13.3547, 4.7914)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47712F #592F71
analogous
#68712F #47712F #2F7138
triadic
#47712F #2F4771 #712F47
tetradic
#47712F #2F6871 #592F71 #71382F
square
#47712F #2F6871 #592F71 #71382F
split-complementary
#47712F #382F71 #712F68
monochromatic
#111B0B #2C461D #47712F #629C41 #80BC5E

Accessibility & contrast

On white

5.72
#47712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#47712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47712F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47712F#FFFFFF#000000##FFFFFF
##47712F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756929
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#466D62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #47712f;
/* rgb */ color: rgb(71, 113, 47);
/* oklch */ color: oklch(50.2% 0.107 135.6);
Tailwind
colors: {
  custom: {
    50: '#7d9a6a',
    500: '#47712f',
    950: '#000000',
  },
}
SCSS
$custom: #47712f;
$custom-light: #7d9a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#47712f",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 98.182,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.10666,
    "h": 135.6
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#47712F
secondary
#885AA2
accent
#57D1A5
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #47712F

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

Preview Lab → · Contrast checker → · Palette generator →

#47712F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva