#47731B#47731B

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

Color values

HEX#47731B
RGBrgb(71, 115, 27)
HSLhsl(90, 62%, 28%)
HSVhsv(90, 77%, 45%)
CMYKcmyk(38.3%, 0%, 76.5%, 54.9%)
CIE-LABlab(43.77, -30.35, 41.29)
CIE-LCHlch(43.77, 51.24, 126.32°)
OKLaboklab(50.51% -0.0855 0.0926)
OKLCHoklch(50.51% 0.126 132.7)
XYZxyz(8.9270, 13.6798, 3.2068)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47731B #471B73
analogous
#73731B #47731B #1B731B
triadic
#47731B #1B4773 #731B47
tetradic
#47731B #1B7373 #471B73 #731B1B
square
#47731B #1B7373 #471B73 #731B1B
split-complementary
#47731B #1B1B73 #731B73
monochromatic
#0F1906 #28410F #47731B #66A527 #84D038

Accessibility & contrast

On white

5.62
#47731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #47731B
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47731B#FFFFFF#000000##FFFFFF
##47731B1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0A
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#486E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #47731b;
/* rgb */ color: rgb(71, 115, 27);
/* oklch */ color: oklch(50.5% 0.126 132.7);
Tailwind
colors: {
  custom: {
    50: '#7e9b5e',
    500: '#47731b',
    950: '#000000',
  },
}
SCSS
$custom: #47731b;
$custom-light: #7e9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#47731b",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50506,
    "c": 0.126,
    "h": 132.7
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#47731B
secondary
#7542A8
accent
#43E594
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47731B

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

Preview Lab → · Contrast checker → · Palette generator →

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