#478236#478236

#478236 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.8% C 0.125 H 139.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#478236
RGBrgb(71, 130, 54)
HSLhsl(107, 41%, 36%)
HSVhsv(107, 58%, 51%)
CMYKcmyk(45.4%, 0%, 58.5%, 49%)
CIE-LABlab(48.97, -34.58, 34.71)
CIE-LCHlch(48.97, 49.00, 134.89°)
OKLaboklab(54.84% -0.0949 0.082)
OKLCHoklch(54.84% 0.125 139.2)
XYZxyz(11.2466, 17.5705, 6.2881)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478236 #713682
analogous
#6D8236 #478236 #36824B
triadic
#478236 #364782 #823647
tetradic
#478236 #366D82 #713682 #824B36
square
#478236 #366D82 #713682 #824B36
split-complementary
#478236 #4B3682 #82366D
monochromatic
#182C12 #2F5724 #478236 #5FAD48 #82C36F

Accessibility & contrast

On white

4.65
#478236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#478236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #478236
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478236#FFFFFF#000000##FFFFFF
##4782361.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86782E
Deuteranopia (green-blind)
#7E723C
Tritanopia (blue-blind)
#437E71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #478236;
/* rgb */ color: rgb(71, 130, 54);
/* oklch */ color: oklch(54.8% 0.125 139.2);
Tailwind
colors: {
  custom: {
    50: '#7fa76f',
    500: '#478236',
    950: '#000000',
  },
}
SCSS
$custom: #478236;
$custom-light: #7fa76f;
$custom-dark: #000000;
JSON
{
  "hex": "#478236",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 106.579,
    "s": 41.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.12545,
    "h": 139.2
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#478236
secondary
#9D68AC
accent
#57D1B6
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #478236

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

Preview Lab → · Contrast checker → · Palette generator →

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