#478118#478118

#478118 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.146 H 134.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#478118
RGBrgb(71, 129, 24)
HSLhsl(93, 69%, 30%)
HSVhsv(93, 81%, 51%)
CMYKcmyk(45%, 0%, 81.4%, 49.4%)
CIE-LABlab(48.39, -36.78, 46.79)
CIE-LCHlch(48.39, 59.52, 128.17°)
OKLaboklab(54.29% -0.103 0.1036)
OKLCHoklch(54.29% 0.146 134.8)
XYZxyz(10.6134, 17.1054, 3.6064)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478118 #521881
analogous
#7B8118 #478118 #18811E
triadic
#478118 #184781 #811847
tetradic
#478118 #187B81 #521881 #811E18
square
#478118 #187B81 #521881 #811E18
split-complementary
#478118 #1E1881 #81187B
monochromatic
#0E1A05 #2B4D0E #478118 #63B522 #81DA39

Accessibility & contrast

On white

4.75
#478118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#478118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478118
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478118#FFFFFF#000000##FFFFFF
##4781181.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#467C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #478118;
/* rgb */ color: rgb(71, 129, 24);
/* oklch */ color: oklch(54.3% 0.146 134.8);
Tailwind
colors: {
  custom: {
    50: '#80a65f',
    500: '#478118',
    950: '#000000',
  },
}
SCSS
$custom: #478118;
$custom-light: #80a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#478118",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 93.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.14613,
    "h": 134.8
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#478118
secondary
#8140B5
accent
#3CEB9D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478118

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

Preview Lab → · Contrast checker → · Palette generator →

#478118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva