#478A1C#478A1C

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

Color values

HEX#478A1C
RGBrgb(71, 138, 28)
HSLhsl(97, 66%, 33%)
HSVhsv(97, 80%, 54%)
CMYKcmyk(48.6%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.38, -40.33, 48.31)
CIE-LCHlch(51.38, 62.93, 129.86°)
OKLaboklab(56.75% -0.1123 0.1074)
OKLCHoklch(56.75% 0.155 136.3)
XYZxyz(11.8963, 19.5996, 4.2546)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A1C #5F1C8A
analogous
#7E8A1C #478A1C #1C8A28
triadic
#478A1C #1C478A #8A1C47
tetradic
#478A1C #1C7E8A #5F1C8A #8A281C
square
#478A1C #1C7E8A #5F1C8A #8A281C
split-complementary
#478A1C #281C8A #8A1C7E
monochromatic
#132407 #2D5712 #478A1C #61BD26 #80DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478A1C#FFFFFF#000000##000000
##478A1C1.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)
#8F7E00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#448576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478a1c;
/* rgb */ color: rgb(71, 138, 28);
/* oklch */ color: oklch(56.7% 0.155 136.3);
Tailwind
colors: {
  custom: {
    50: '#81ad62',
    500: '#478a1c',
    950: '#000000',
  },
}
SCSS
$custom: #478a1c;
$custom-light: #81ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#478a1c",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 96.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.15543,
    "h": 136.3
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#478A1C
secondary
#8E46BB
accent
#3FE9A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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