#478C29#478C29

#478C29 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.150 H 137.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#478C29
RGBrgb(71, 140, 41)
HSLhsl(102, 55%, 35%)
HSVhsv(102, 71%, 55%)
CMYKcmyk(49.3%, 0%, 70.7%, 45.1%)
CIE-LABlab(52.12, -40.21, 44.18)
CIE-LCHlch(52.12, 59.74, 132.31°)
OKLaboklab(57.38% -0.1111 0.1007)
OKLCHoklch(57.38% 0.15 137.8)
XYZxyz(12.3764, 20.2550, 5.3548)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C29 #6E298C
analogous
#788C29 #478C29 #298C3C
triadic
#478C29 #29478C #8C2947
tetradic
#478C29 #29788C #6E298C #8C3C29
square
#478C29 #29788C #6E298C #8C3C29
split-complementary
#478C29 #3C298C #8C2978
monochromatic
#172D0D #2F5D1B #478C29 #5FBB37 #81D05F

Accessibility & contrast

On white

4.16
#478C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#478C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C29
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C29#FFFFFF#000000##000000
##478C291.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801A
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#428778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c29;
/* rgb */ color: rgb(71, 140, 41);
/* oklch */ color: oklch(57.4% 0.150 137.8);
Tailwind
colors: {
  custom: {
    50: '#81ae68',
    500: '#478c29',
    950: '#000000',
  },
}
SCSS
$custom: #478c29;
$custom-light: #81ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#478c29",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 101.818,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57384,
    "c": 0.14996,
    "h": 137.8
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#478C29
secondary
#9A5BB6
accent
#4ADEB1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478C29

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

Preview Lab → · Contrast checker → · Palette generator →

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