#478337#478337

#478337 is a mid, vivid green. Relative luminance 0.178; OKLCH L 55.1% C 0.126 H 139.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#478337
RGBrgb(71, 131, 55)
HSLhsl(107, 41%, 36%)
HSVhsv(107, 58%, 51%)
CMYKcmyk(45.8%, 0%, 58%, 48.6%)
CIE-LABlab(49.31, -34.90, 34.61)
CIE-LCHlch(49.31, 49.15, 135.24°)
OKLaboklab(55.12% -0.0957 0.0819)
OKLCHoklch(55.12% 0.126 139.4)
XYZxyz(11.4040, 17.8473, 6.4577)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478337 #733783
analogous
#6D8337 #478337 #37834D
triadic
#478337 #374783 #833747
tetradic
#478337 #376D83 #733783 #834D37
square
#478337 #376D83 #733783 #834D37
split-complementary
#478337 #4D3783 #83376D
monochromatic
#182D13 #305825 #478337 #5EAE49 #82C371

Accessibility & contrast

On white

4.60
#478337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#478337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #478337
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478337#FFFFFF#000000##FFFFFF
##4783371.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877830
Deuteranopia (green-blind)
#7E733D
Tritanopia (blue-blind)
#427F72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478337;
/* rgb */ color: rgb(71, 131, 55);
/* oklch */ color: oklch(55.1% 0.126 139.4);
Tailwind
colors: {
  custom: {
    50: '#7fa770',
    500: '#478337',
    950: '#000000',
  },
}
SCSS
$custom: #478337;
$custom-light: #7fa770;
$custom-dark: #000000;
JSON
{
  "hex": "#478337",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 107.368,
    "s": 40.86,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5512,
    "c": 0.12598,
    "h": 139.4
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#478337
secondary
#9E6AAC
accent
#57D1B7
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #478337

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

Preview Lab → · Contrast checker → · Palette generator →

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