#478F1A#478F1A

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

Color values

HEX#478F1A
RGBrgb(71, 143, 26)
HSLhsl(97, 69%, 33%)
HSVhsv(97, 82%, 56%)
CMYKcmyk(50.3%, 0%, 81.8%, 43.9%)
CIE-LABlab(53.01, -42.48, 50.47)
CIE-LCHlch(53.01, 65.97, 130.08°)
OKLaboklab(58.09% -0.1182 0.1117)
OKLCHoklch(58.09% 0.163 136.6)
XYZxyz(12.6071, 21.0582, 4.3774)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F1A #621A8F
analogous
#818F1A #478F1A #1A8F27
triadic
#478F1A #1A478F #8F1A47
tetradic
#478F1A #1A818F #621A8F #8F271A
square
#478F1A #1A818F #621A8F #8F271A
split-complementary
#478F1A #271A8F #8F1A81
monochromatic
#142707 #2D5B11 #478F1A #61C323 #80DD46

Accessibility & contrast

On white

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

On black

5.21
#478F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F1A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F1A#FFFFFF#000000##000000
##478F1A1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478f1a;
/* rgb */ color: rgb(71, 143, 26);
/* oklch */ color: oklch(58.1% 0.163 136.6);
Tailwind
colors: {
  custom: {
    50: '#82b062',
    500: '#478f1a',
    950: '#000000',
  },
}
SCSS
$custom: #478f1a;
$custom-light: #82b062;
$custom-dark: #000000;
JSON
{
  "hex": "#478f1a",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 96.923,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58085,
    "c": 0.16261,
    "h": 136.6
  },
  "luminance": 0.21059
}

Semantic roles & 50–950 ramp

primary
#478F1A
secondary
#9046BF
accent
#3CECA8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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