#47781F#47781F

#47781F is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.9% C 0.130 H 134.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#47781F
RGBrgb(71, 120, 31)
HSLhsl(93, 59%, 30%)
HSVhsv(93, 74%, 47%)
CMYKcmyk(40.8%, 0%, 74.2%, 52.9%)
CIE-LABlab(45.46, -32.36, 41.40)
CIE-LCHlch(45.46, 52.54, 128.01°)
OKLaboklab(51.89% -0.0906 0.0934)
OKLCHoklch(51.89% 0.13 134.1)
XYZxyz(9.5621, 14.8710, 3.6626)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47781F #501F78
analogous
#73781F #47781F #1F7824
triadic
#47781F #1F4778 #781F47
tetradic
#47781F #1F7378 #501F78 #78241F
square
#47781F #1F7378 #501F78 #78241F
split-complementary
#47781F #241F78 #781F73
monochromatic
#0E1806 #2A4712 #47781F #64A92C #82CE43

Accessibility & contrast

On white

5.28
#47781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#47781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47781F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47781F#FFFFFF#000000##FFFFFF
##47781F1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#477367
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #47781f;
/* rgb */ color: rgb(71, 120, 31);
/* oklch */ color: oklch(51.9% 0.130 134.1);
Tailwind
colors: {
  custom: {
    50: '#7f9f61',
    500: '#47781f',
    950: '#000000',
  },
}
SCSS
$custom: #47781f;
$custom-light: #7f9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#47781f",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 93.034,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.13014,
    "h": 134.1
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#47781F
secondary
#7E47AB
accent
#46E29C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47781F

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

Preview Lab → · Contrast checker → · Palette generator →

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