#478B1E#478B1E

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

Color values

HEX#478B1E
RGBrgb(71, 139, 30)
HSLhsl(97, 64%, 33%)
HSVhsv(97, 78%, 55%)
CMYKcmyk(48.9%, 0%, 78.4%, 45.5%)
CIE-LABlab(51.72, -40.62, 47.96)
CIE-LCHlch(51.72, 62.85, 130.26°)
OKLaboklab(57.03% -0.113 0.107)
OKLCHoklch(57.03% 0.156 136.6)
XYZxyz(12.0652, 19.8978, 4.4329)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B1E #621E8B
analogous
#7D8B1E #478B1E #1E8B2B
triadic
#478B1E #1E478B #8B1E47
tetradic
#478B1E #1E7D8B #621E8B #8B2B1E
square
#478B1E #1E7D8B #621E8B #8B2B1E
split-complementary
#478B1E #2B1E8B #8B1E7D
monochromatic
#142608 #2D5913 #478B1E #61BD29 #80D84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478B1E#FFFFFF#000000##000000
##478B1E1.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)
#907F03
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#448676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b1e;
/* rgb */ color: rgb(71, 139, 30);
/* oklch */ color: oklch(57.0% 0.156 136.6);
Tailwind
colors: {
  custom: {
    50: '#81ad63',
    500: '#478b1e',
    950: '#000000',
  },
}
SCSS
$custom: #478b1e;
$custom-light: #81ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#478b1e",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 97.431,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.1556,
    "h": 136.6
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#478B1E
secondary
#904ABB
accent
#40E7A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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