#478E1E#478E1E

#478E1E is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.159 H 136.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#478E1E
RGBrgb(71, 142, 30)
HSLhsl(98, 65%, 34%)
HSVhsv(98, 79%, 56%)
CMYKcmyk(50%, 0%, 78.9%, 44.3%)
CIE-LABlab(52.71, -41.84, 48.91)
CIE-LCHlch(52.71, 64.36, 130.55°)
OKLaboklab(57.84% -0.1163 0.109)
OKLCHoklch(57.84% 0.159 136.9)
XYZxyz(12.5055, 20.7785, 4.5797)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E1E #651E8E
analogous
#7F8E1E #478E1E #1E8E2D
triadic
#478E1E #1E478E #8E1E47
tetradic
#478E1E #1E7F8E #651E8E #8E2D1E
square
#478E1E #1E7F8E #651E8E #8E2D1E
split-complementary
#478E1E #2D1E8E #8E1E7F
monochromatic
#142909 #2E5B13 #478E1E #60C129 #80D94D

Accessibility & contrast

On white

4.07
#478E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#478E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E1E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E1E#FFFFFF#000000##000000
##478E1E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938101
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e1e;
/* rgb */ color: rgb(71, 142, 30);
/* oklch */ color: oklch(57.8% 0.159 136.9);
Tailwind
colors: {
  custom: {
    50: '#82b063',
    500: '#478e1e',
    950: '#000000',
  },
}
SCSS
$custom: #478e1e;
$custom-light: #82b063;
$custom-dark: #000000;
JSON
{
  "hex": "#478e1e",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 98.036,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.15936,
    "h": 136.9
  },
  "luminance": 0.20779
}

Semantic roles & 50–950 ramp

primary
#478E1E
secondary
#934CBC
accent
#40E8AA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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