#478B19#478B19

#478B19 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.158 H 136.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#478B19
RGBrgb(71, 139, 25)
HSLhsl(96, 70%, 32%)
HSVhsv(96, 82%, 55%)
CMYKcmyk(48.9%, 0%, 82%, 45.5%)
CIE-LABlab(51.69, -40.91, 49.55)
CIE-LCHlch(51.69, 64.26, 129.54°)
OKLaboklab(57% -0.1141 0.1096)
OKLCHoklch(57% 0.158 136.2)
XYZxyz(12.0063, 19.8742, 4.1230)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B19 #5D198B
analogous
#808B19 #478B19 #198B24
triadic
#478B19 #19478B #8B1947
tetradic
#478B19 #19808B #5D198B #8B2419
square
#478B19 #19808B #5D198B #8B2419
split-complementary
#478B19 #24198B #8B1980
monochromatic
#122306 #2D5710 #478B19 #61BF22 #80DD41

Accessibility & contrast

On white

4.22
#478B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#478B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478B19
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478B19#FFFFFF#000000##000000
##478B191.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#448676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b19;
/* rgb */ color: rgb(71, 139, 25);
/* oklch */ color: oklch(57.0% 0.158 136.2);
Tailwind
colors: {
  custom: {
    50: '#81ad61',
    500: '#478b19',
    950: '#000000',
  },
}
SCSS
$custom: #478b19;
$custom-light: #81ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#478b19",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 95.789,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.15817,
    "h": 136.2
  },
  "luminance": 0.19875
}

Semantic roles & 50–950 ramp

primary
#478B19
secondary
#8C42BE
accent
#3BECA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478B19

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

Preview Lab → · Contrast checker → · Palette generator →

#478B19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva