#478E26#478E26

#478E26 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.155 H 137.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#478E26
RGBrgb(71, 142, 38)
HSLhsl(101, 58%, 35%)
HSVhsv(101, 73%, 56%)
CMYKcmyk(50%, 0%, 73.2%, 44.3%)
CIE-LABlab(52.76, -41.28, 46.04)
CIE-LCHlch(52.76, 61.84, 131.88°)
OKLaboklab(57.9% -0.1142 0.1042)
OKLCHoklch(57.9% 0.155 137.6)
XYZxyz(12.6210, 20.8247, 5.1879)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E26 #6D268E
analogous
#7B8E26 #478E26 #268E39
triadic
#478E26 #26478E #8E2647
tetradic
#478E26 #267B8E #6D268E #8E3926
square
#478E26 #267B8E #6D268E #8E3926
split-complementary
#478E26 #39268E #8E267B
monochromatic
#172D0C #2F5E19 #478E26 #5FBE33 #81D35B

Accessibility & contrast

On white

4.07
#478E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#478E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E26
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E26#FFFFFF#000000##000000
##478E261.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938214
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#42897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e26;
/* rgb */ color: rgb(71, 142, 38);
/* oklch */ color: oklch(57.9% 0.155 137.6);
Tailwind
colors: {
  custom: {
    50: '#81b067',
    500: '#478e26',
    950: '#000000',
  },
}
SCSS
$custom: #478e26;
$custom-light: #81b067;
$custom-dark: #000000;
JSON
{
  "hex": "#478e26",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 100.962,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.1546,
    "h": 137.6
  },
  "luminance": 0.20826
}

Semantic roles & 50–950 ramp

primary
#478E26
secondary
#9A58B8
accent
#47E1B0
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478E26

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

Preview Lab → · Contrast checker → · Palette generator →

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