#478145#478145

#478145 is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.8% C 0.109 H 143.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#478145
RGBrgb(71, 129, 69)
HSLhsl(118, 30%, 39%)
HSVhsv(118, 47%, 51%)
CMYKcmyk(45%, 0%, 46.5%, 49.4%)
CIE-LABlab(48.85, -32.05, 26.68)
CIE-LCHlch(48.85, 41.70, 140.22°)
OKLaboklab(54.8% -0.0873 0.0652)
OKLCHoklch(54.8% 0.109 143.2)
XYZxyz(11.5224, 17.4690, 8.3938)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478145 #7F4581
analogous
#658145 #478145 #458161
triadic
#478145 #454781 #814547
tetradic
#478145 #456581 #7F4581 #816145
square
#478145 #456581 #7F4581 #816145
split-complementary
#478145 #614581 #814565
monochromatic
#1B311A #315930 #478145 #5EA85C #85BD83

Accessibility & contrast

On white

4.67
#478145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#478145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478145
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478145#FFFFFF#000000##FFFFFF
##4781451.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837740
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#407E73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #478145;
/* rgb */ color: rgb(71, 129, 69);
/* oklch */ color: oklch(54.8% 0.109 143.2);
Tailwind
colors: {
  custom: {
    50: '#7ea67a',
    500: '#478145',
    950: '#000000',
  },
}
SCSS
$custom: #478145;
$custom-light: #7ea67a;
$custom-dark: #000000;
JSON
{
  "hex": "#478145",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 118,
    "s": 30.303,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.10895,
    "h": 143.2
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#478145
secondary
#A77AA8
accent
#61C7C3
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F09
muted
#7C7F7B

Preview Lab

Preview with #478145

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

Preview Lab → · Contrast checker → · Palette generator →

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