#478A1E#478A1E

#478A1E is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.154 H 136.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#478A1E
RGBrgb(71, 138, 30)
HSLhsl(97, 64%, 33%)
HSVhsv(97, 78%, 54%)
CMYKcmyk(48.6%, 0%, 78.3%, 45.9%)
CIE-LABlab(51.39, -40.21, 47.64)
CIE-LCHlch(51.39, 62.34, 130.16°)
OKLaboklab(56.76% -0.1119 0.1063)
OKLCHoklch(56.76% 0.154 136.5)
XYZxyz(11.9210, 19.6095, 4.3849)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A1E #611E8A
analogous
#7D8A1E #478A1E #1E8A2B
triadic
#478A1E #1E478A #8A1E47
tetradic
#478A1E #1E7D8A #611E8A #8A2B1E
square
#478A1E #1E7D8A #611E8A #8A2B1E
split-complementary
#478A1E #2B1E8A #8A1E7D
monochromatic
#132508 #2D5813 #478A1E #61BC29 #80D84B

Accessibility & contrast

On white

4.27
#478A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#478A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478A1E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478A1E#FFFFFF#000000##000000
##478A1E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#448576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478a1e;
/* rgb */ color: rgb(71, 138, 30);
/* oklch */ color: oklch(56.8% 0.154 136.5);
Tailwind
colors: {
  custom: {
    50: '#81ad63',
    500: '#478a1e',
    950: '#000000',
  },
}
SCSS
$custom: #478a1e;
$custom-light: #81ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#478a1e",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 97.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.15433,
    "h": 136.5
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#478A1E
secondary
#8F4ABA
accent
#41E7A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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