#47731F#47731F

#47731F is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.123 H 133.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#47731F
RGBrgb(71, 115, 31)
HSLhsl(91, 58%, 29%)
HSVhsv(91, 73%, 45%)
CMYKcmyk(38.3%, 0%, 73%, 54.9%)
CIE-LABlab(43.80, -30.06, 39.71)
CIE-LCHlch(43.80, 49.80, 127.12°)
OKLaboklab(50.54% -0.0843 0.0899)
OKLCHoklch(50.54% 0.123 133.2)
XYZxyz(8.9764, 13.6996, 3.4674)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47731F #4B1F73
analogous
#71731F #47731F #1F7321
triadic
#47731F #1F4773 #731F47
tetradic
#47731F #1F7173 #4B1F73 #73211F
square
#47731F #1F7173 #4B1F73 #73211F
split-complementary
#47731F #211F73 #731F71
monochromatic
#0F1806 #294312 #47731F #65A32C #83CC41

Accessibility & contrast

On white

5.61
#47731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#47731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47731F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47731F#FFFFFF#000000##FFFFFF
##47731F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A12
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#476E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #47731f;
/* rgb */ color: rgb(71, 115, 31);
/* oklch */ color: oklch(50.5% 0.123 133.2);
Tailwind
colors: {
  custom: {
    50: '#7e9b60',
    500: '#47731f',
    950: '#000000',
  },
}
SCSS
$custom: #47731f;
$custom-light: #7e9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#47731f",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 91.429,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50539,
    "c": 0.12327,
    "h": 133.2
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#47731F
secondary
#7947A7
accent
#47E198
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47731F

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

Preview Lab → · Contrast checker → · Palette generator →

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