#478F26#478F26

#478F26 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.2% C 0.156 H 137.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#478F26
RGBrgb(71, 143, 38)
HSLhsl(101, 58%, 35%)
HSVhsv(101, 73%, 56%)
CMYKcmyk(50.3%, 0%, 73.4%, 43.9%)
CIE-LABlab(53.08, -41.69, 46.37)
CIE-LCHlch(53.08, 62.36, 131.95°)
OKLaboklab(58.17% -0.1153 0.1049)
OKLCHoklch(58.17% 0.156 137.7)
XYZxyz(12.7704, 21.1236, 5.2377)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F26 #6E268F
analogous
#7B8F26 #478F26 #268F39
triadic
#478F26 #26478F #8F2647
tetradic
#478F26 #267B8F #6E268F #8F3926
square
#478F26 #267B8F #6E268F #8F3926
split-complementary
#478F26 #39268F #8F267B
monochromatic
#172E0C #2F5F19 #478F26 #5FBF33 #81D45C

Accessibility & contrast

On white

4.02
#478F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#478F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F26
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F26#FFFFFF#000000##000000
##478F261.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948314
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#428A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f26;
/* rgb */ color: rgb(71, 143, 38);
/* oklch */ color: oklch(58.2% 0.156 137.7);
Tailwind
colors: {
  custom: {
    50: '#81b067',
    500: '#478f26',
    950: '#000000',
  },
}
SCSS
$custom: #478f26;
$custom-light: #81b067;
$custom-dark: #000000;
JSON
{
  "hex": "#478f26",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 101.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58166,
    "c": 0.15588,
    "h": 137.7
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#478F26
secondary
#9A58B9
accent
#47E1B1
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478F26

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

Preview Lab → · Contrast checker → · Palette generator →

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