#478D19#478D19

#478D19 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.5% C 0.161 H 136.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#478D19
RGBrgb(71, 141, 25)
HSLhsl(96, 70%, 33%)
HSVhsv(96, 82%, 55%)
CMYKcmyk(49.6%, 0%, 82.3%, 44.7%)
CIE-LABlab(52.35, -41.72, 50.16)
CIE-LCHlch(52.35, 65.25, 129.75°)
OKLaboklab(57.54% -0.1163 0.1109)
OKLCHoklch(57.54% 0.161 136.4)
XYZxyz(12.2985, 20.4587, 4.2204)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D19 #5F198D
analogous
#818D19 #478D19 #198D25
triadic
#478D19 #19478D #8D1947
tetradic
#478D19 #19818D #5F198D #8D2519
square
#478D19 #19818D #5F198D #8D2519
split-complementary
#478D19 #25198D #8D1981
monochromatic
#132507 #2D5910 #478D19 #61C122 #80DE43

Accessibility & contrast

On white

4.12
#478D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#478D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D19
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D19#FFFFFF#000000##000000
##478D191.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#438878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d19;
/* rgb */ color: rgb(71, 141, 25);
/* oklch */ color: oklch(57.5% 0.161 136.4);
Tailwind
colors: {
  custom: {
    50: '#82af61',
    500: '#478d19',
    950: '#000000',
  },
}
SCSS
$custom: #478d19;
$custom-light: #82af61;
$custom-dark: #000000;
JSON
{
  "hex": "#478d19",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 96.207,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.16064,
    "h": 136.4
  },
  "luminance": 0.2046
}

Semantic roles & 50–950 ramp

primary
#478D19
secondary
#8E43BF
accent
#3BEDA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478D19

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

Preview Lab → · Contrast checker → · Palette generator →

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