#478151#478151

#478151 is a mid, moderate green. Relative luminance 0.176; OKLCH L 55.0% C 0.096 H 148.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#478151
RGBrgb(71, 129, 81)
HSLhsl(130, 29%, 39%)
HSVhsv(130, 45%, 51%)
CMYKcmyk(45%, 0%, 37.2%, 49.4%)
CIE-LABlab(49.05, -30.01, 20.27)
CIE-LCHlch(49.05, 36.22, 145.97°)
OKLaboklab(55.03% -0.0817 0.0507)
OKLCHoklch(55.03% 0.096 148.2)
XYZxyz(11.9333, 17.6334, 10.5578)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478151 #814777
analogous
#5A8147 #478151 #47816E
triadic
#478151 #514781 #815147
tetradic
#478151 #475A81 #814777 #816E47
square
#478151 #475A81 #814777 #816E47
split-complementary
#478151 #6E4781 #81475A
monochromatic
#1C321F #315A38 #478151 #5FA76B #86BC8F

Accessibility & contrast

On white

4.64
#478151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#478151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #478151
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478151#FFFFFF#000000##FFFFFF
##4781511.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784E
Deuteranopia (green-blind)
#7A7254
Tritanopia (blue-blind)
#3E7F75
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478151;
/* rgb */ color: rgb(71, 129, 81);
/* oklch */ color: oklch(55.0% 0.096 148.2);
Tailwind
colors: {
  custom: {
    50: '#7ea682',
    500: '#478151',
    950: '#000000',
  },
}
SCSS
$custom: #478151;
$custom-light: #7ea682;
$custom-dark: #000000;
JSON
{
  "hex": "#478151",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 130.345,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.09612,
    "h": 148.2
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#478151
secondary
#A87CA0
accent
#63B4C5
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A0F0A
muted
#7C7F7C

Preview Lab

Preview with #478151

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

Preview Lab → · Contrast checker → · Palette generator →

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