#478C1E#478C1E

#478C1E is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.157 H 136.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#478C1E
RGBrgb(71, 140, 30)
HSLhsl(98, 65%, 33%)
HSVhsv(98, 79%, 55%)
CMYKcmyk(49.3%, 0%, 78.6%, 45.1%)
CIE-LABlab(52.05, -41.03, 48.27)
CIE-LCHlch(52.05, 63.35, 130.36°)
OKLaboklab(57.3% -0.1141 0.1077)
OKLCHoklch(57.3% 0.157 136.7)
XYZxyz(12.2106, 20.1887, 4.4814)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C1E #631E8C
analogous
#7E8C1E #478C1E #1E8C2C
triadic
#478C1E #1E478C #8C1E47
tetradic
#478C1E #1E7E8C #631E8C #8C2C1E
square
#478C1E #1E7E8C #631E8C #8C2C1E
split-complementary
#478C1E #2C1E8C #8C1E7E
monochromatic
#142708 #2D5A13 #478C1E #61BE29 #80D94C

Accessibility & contrast

On white

4.17
#478C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#478C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C1E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C1E#FFFFFF#000000##000000
##478C1E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918003
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#438777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c1e;
/* rgb */ color: rgb(71, 140, 30);
/* oklch */ color: oklch(57.3% 0.157 136.7);
Tailwind
colors: {
  custom: {
    50: '#81ae63',
    500: '#478c1e',
    950: '#000000',
  },
}
SCSS
$custom: #478c1e;
$custom-light: #81ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#478c1e",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 97.636,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.15685,
    "h": 136.7
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#478C1E
secondary
#914BBB
accent
#40E8A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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