#478F1E#478F1E

#478F1E is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.161 H 136.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#478F1E
RGBrgb(71, 143, 30)
HSLhsl(98, 65%, 34%)
HSVhsv(98, 79%, 56%)
CMYKcmyk(50.3%, 0%, 79%, 43.9%)
CIE-LABlab(53.03, -42.24, 49.22)
CIE-LCHlch(53.03, 64.86, 130.64°)
OKLaboklab(58.11% -0.1173 0.1096)
OKLCHoklch(58.11% 0.161 136.9)
XYZxyz(12.6550, 21.0774, 4.6295)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F1E #661E8F
analogous
#808F1E #478F1E #1E8F2E
triadic
#478F1E #1E478F #8F1E47
tetradic
#478F1E #1E808F #661E8F #8F2E1E
square
#478F1E #1E808F #661E8F #8F2E1E
split-complementary
#478F1E #2E1E8F #8F1E80
monochromatic
#152A09 #2E5C13 #478F1E #60C229 #80DA4E

Accessibility & contrast

On white

4.03
#478F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#478F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F1E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F1E#FFFFFF#000000##000000
##478F1E1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948201
Deuteranopia (green-blind)
#8B7C2A
Tritanopia (blue-blind)
#438A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f1e;
/* rgb */ color: rgb(71, 143, 30);
/* oklch */ color: oklch(58.1% 0.161 136.9);
Tailwind
colors: {
  custom: {
    50: '#82b063',
    500: '#478f1e',
    950: '#000000',
  },
}
SCSS
$custom: #478f1e;
$custom-light: #82b063;
$custom-dark: #000000;
JSON
{
  "hex": "#478f1e",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 98.23,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.16059,
    "h": 136.9
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#478F1E
secondary
#944CBC
accent
#40E8AB
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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