#47731C#47731C

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

Color values

HEX#47731C
RGBrgb(71, 115, 28)
HSLhsl(90, 61%, 28%)
HSVhsv(90, 76%, 45%)
CMYKcmyk(38.3%, 0%, 75.7%, 54.9%)
CIE-LABlab(43.78, -30.28, 40.90)
CIE-LCHlch(43.78, 50.89, 126.51°)
OKLaboklab(50.51% -0.0852 0.0919)
OKLCHoklch(50.51% 0.125 132.8)
XYZxyz(8.9387, 13.6845, 3.2688)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47731C #481C73
analogous
#72731C #47731C #1C731D
triadic
#47731C #1C4773 #731C47
tetradic
#47731C #1C7273 #481C73 #731D1C
square
#47731C #1C7273 #481C73 #731D1C
split-complementary
#47731C #1D1C73 #731C72
monochromatic
#0F1906 #294210 #47731C #65A428 #84CF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47731C#FFFFFF#000000##FFFFFF
##47731C1.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)
#786A0C
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#476E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #47731c;
/* rgb */ color: rgb(71, 115, 28);
/* oklch */ color: oklch(50.5% 0.125 132.8);
Tailwind
colors: {
  custom: {
    50: '#7e9b5f',
    500: '#47731c',
    950: '#000000',
  },
}
SCSS
$custom: #47731c;
$custom-light: #7e9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#47731c",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 90.345,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.12534,
    "h": 132.8
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#47731C
secondary
#7643A7
accent
#44E495
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47731C

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

Preview Lab → · Contrast checker → · Palette generator →

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