#478E18#478E18

#478E18 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.162 H 136.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#478E18
RGBrgb(71, 142, 24)
HSLhsl(96, 71%, 33%)
HSVhsv(96, 83%, 56%)
CMYKcmyk(50%, 0%, 83.1%, 44.3%)
CIE-LABlab(52.68, -42.18, 50.76)
CIE-LCHlch(52.68, 65.99, 129.73°)
OKLaboklab(57.8% -0.1175 0.1119)
OKLCHoklch(57.8% 0.162 136.4)
XYZxyz(12.4361, 20.7507, 4.2140)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E18 #5F188E
analogous
#828E18 #478E18 #188E24
triadic
#478E18 #18478E #8E1847
tetradic
#478E18 #18828E #5F188E #8E2418
square
#478E18 #18828E #5F188E #8E2418
split-complementary
#478E18 #24188E #8E1882
monochromatic
#132506 #2D5A0F #478E18 #61C221 #80DF41

Accessibility & contrast

On white

4.08
#478E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#478E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E18
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E18#FFFFFF#000000##000000
##478E181.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e18;
/* rgb */ color: rgb(71, 142, 24);
/* oklch */ color: oklch(57.8% 0.162 136.4);
Tailwind
colors: {
  custom: {
    50: '#82b061',
    500: '#478e18',
    950: '#000000',
  },
}
SCSS
$custom: #478e18;
$custom-light: #82b061;
$custom-dark: #000000;
JSON
{
  "hex": "#478e18",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 96.102,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.16232,
    "h": 136.4
  },
  "luminance": 0.20752
}

Semantic roles & 50–950 ramp

primary
#478E18
secondary
#8E42C0
accent
#3AEEA6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478E18

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

Preview Lab → · Contrast checker → · Palette generator →

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