#47801C#47801C

#47801C is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.0% C 0.143 H 135.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#47801C
RGBrgb(71, 128, 28)
HSLhsl(94, 64%, 31%)
HSVhsv(94, 78%, 50%)
CMYKcmyk(44.5%, 0%, 78.1%, 49.8%)
CIE-LABlab(48.08, -36.11, 45.14)
CIE-LCHlch(48.08, 57.81, 128.66°)
OKLaboklab(54.04% -0.101 0.1008)
OKLCHoklch(54.04% 0.143 135)
XYZxyz(10.5271, 16.8612, 3.7982)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47801C #551C80
analogous
#79801C #47801C #1C8023
triadic
#47801C #1C4780 #801C47
tetradic
#47801C #1C7980 #551C80 #80231C
square
#47801C #1C7980 #551C80 #80231C
split-complementary
#47801C #231C80 #801C79
monochromatic
#0F1C06 #2B4E11 #47801C #63B227 #81D541

Accessibility & contrast

On white

4.80
#47801C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#47801C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47801C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47801C#FFFFFF#000000##FFFFFF
##47801C1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#467B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #47801c;
/* rgb */ color: rgb(71, 128, 28);
/* oklch */ color: oklch(54.0% 0.143 135.0);
Tailwind
colors: {
  custom: {
    50: '#80a560',
    500: '#47801c',
    950: '#000000',
  },
}
SCSS
$custom: #47801c;
$custom-light: #80a560;
$custom-dark: #000000;
JSON
{
  "hex": "#47801c",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 94.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.14267,
    "h": 135
  },
  "luminance": 0.16862
}

Semantic roles & 50–950 ramp

primary
#47801C
secondary
#8444B3
accent
#41E7A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #47801C

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

Preview Lab → · Contrast checker → · Palette generator →

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