#478319#478319

#478319 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.8% C 0.148 H 135.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#478319
RGBrgb(71, 131, 25)
HSLhsl(94, 68%, 31%)
HSVhsv(94, 81%, 51%)
CMYKcmyk(45.8%, 0%, 80.9%, 48.6%)
CIE-LABlab(49.06, -37.58, 47.09)
CIE-LCHlch(49.06, 60.25, 128.59°)
OKLaboklab(54.83% -0.1051 0.1044)
OKLCHoklch(54.83% 0.148 135.2)
XYZxyz(10.8901, 17.6417, 3.7509)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478319 #551983
analogous
#7C8319 #478319 #198320
triadic
#478319 #194783 #831947
tetradic
#478319 #197C83 #551983 #832019
square
#478319 #197C83 #551983 #832019
split-complementary
#478319 #201983 #83197C
monochromatic
#0F1C05 #2B500F #478319 #63B623 #81DA3D

Accessibility & contrast

On white

4.64
#478319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#478319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #478319
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478319#FFFFFF#000000##FFFFFF
##4783191.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#457E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478319;
/* rgb */ color: rgb(71, 131, 25);
/* oklch */ color: oklch(54.8% 0.148 135.2);
Tailwind
colors: {
  custom: {
    50: '#80a75f',
    500: '#478319',
    950: '#000000',
  },
}
SCSS
$custom: #478319;
$custom-light: #80a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#478319",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 93.962,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54833,
    "c": 0.14816,
    "h": 135.2
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

primary
#478319
secondary
#8441B7
accent
#3DEB9F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478319

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

Preview Lab → · Contrast checker → · Palette generator →

#478319 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva