#478C18#478C18

#478C18 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.160 H 136.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#478C18
RGBrgb(71, 140, 24)
HSLhsl(96, 71%, 32%)
HSVhsv(96, 83%, 55%)
CMYKcmyk(49.3%, 0%, 82.9%, 45.1%)
CIE-LABlab(52.02, -41.37, 50.15)
CIE-LCHlch(52.02, 65.01, 129.52°)
OKLaboklab(57.26% -0.1154 0.1107)
OKLCHoklch(57.26% 0.16 136.2)
XYZxyz(12.1412, 20.1609, 4.1157)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C18 #5D188C
analogous
#818C18 #478C18 #188C23
triadic
#478C18 #18478C #8C1847
tetradic
#478C18 #18818C #5D188C #8C2318
square
#478C18 #18818C #5D188C #8C2318
split-complementary
#478C18 #23188C #8C1881
monochromatic
#122406 #2D580F #478C18 #61C021 #80DE40

Accessibility & contrast

On white

4.17
#478C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#478C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C18
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C18#FFFFFF#000000##000000
##478C181.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#448777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c18;
/* rgb */ color: rgb(71, 140, 24);
/* oklch */ color: oklch(57.3% 0.160 136.2);
Tailwind
colors: {
  custom: {
    50: '#82ae60',
    500: '#478c18',
    950: '#000000',
  },
}
SCSS
$custom: #478c18;
$custom-light: #82ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#478c18",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 95.69,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.15987,
    "h": 136.2
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#478C18
secondary
#8C41BF
accent
#3AEDA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478C18

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

Preview Lab → · Contrast checker → · Palette generator →

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