#47731A#47731A

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

Color values

HEX#47731A
RGBrgb(71, 115, 26)
HSLhsl(90, 63%, 28%)
HSVhsv(90, 77%, 45%)
CMYKcmyk(38.3%, 0%, 77.4%, 54.9%)
CIE-LABlab(43.76, -30.42, 41.66)
CIE-LCHlch(43.76, 51.59, 126.13°)
OKLaboklab(50.5% -0.0857 0.0932)
OKLCHoklch(50.5% 0.127 132.6)
XYZxyz(8.9156, 13.6753, 3.1469)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47731A #461A73
analogous
#73731A #47731A #1A731A
triadic
#47731A #1A4773 #731A47
tetradic
#47731A #1A7373 #461A73 #731A1A
square
#47731A #1A7373 #461A73 #731A1A
split-complementary
#47731A #1A1A73 #731A73
monochromatic
#0F1906 #28410F #47731A #66A525 #85D236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47731A#FFFFFF#000000##FFFFFF
##47731A1.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)
#786A08
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#486E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #47731a;
/* rgb */ color: rgb(71, 115, 26);
/* oklch */ color: oklch(50.5% 0.127 132.6);
Tailwind
colors: {
  custom: {
    50: '#7e9b5e',
    500: '#47731a',
    950: '#000000',
  },
}
SCSS
$custom: #47731a;
$custom-light: #7e9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#47731a",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 89.663,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.12664,
    "h": 132.6
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#47731A
secondary
#7441A8
accent
#42E693
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47731A

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

Preview Lab → · Contrast checker → · Palette generator →

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