#408237#408237

#408237 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.5% C 0.128 H 141.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#408237
RGBrgb(64, 130, 55)
HSLhsl(113, 41%, 36%)
HSVhsv(113, 58%, 51%)
CMYKcmyk(50.8%, 0%, 57.7%, 49%)
CIE-LABlab(48.67, -36.69, 33.78)
CIE-LCHlch(48.67, 49.88, 137.36°)
OKLaboklab(54.51% -0.1002 0.0802)
OKLCHoklch(54.51% 0.128 141.3)
XYZxyz(10.7861, 17.3303, 6.3904)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408237 #793782
analogous
#668237 #408237 #378254
triadic
#408237 #374082 #823740
tetradic
#408237 #376682 #793782 #825437
square
#408237 #376682 #793782 #825437
split-complementary
#408237 #543782 #823766
monochromatic
#162C13 #2B5725 #408237 #55AD49 #7AC371

Accessibility & contrast

On white

4.70
#408237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#408237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408237
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408237#FFFFFF#000000##FFFFFF
##4082371.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857730
Deuteranopia (green-blind)
#7C713D
Tritanopia (blue-blind)
#397E71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408237;
/* rgb */ color: rgb(64, 130, 55);
/* oklch */ color: oklch(54.5% 0.128 141.3);
Tailwind
colors: {
  custom: {
    50: '#7aa770',
    500: '#408237',
    950: '#000000',
  },
}
SCSS
$custom: #408237;
$custom-light: #7aa770;
$custom-dark: #000000;
JSON
{
  "hex": "#408237",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 112.8,
    "s": 40.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.12832,
    "h": 141.3
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#408237
secondary
#A469AB
accent
#57D0C2
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408237

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

Preview Lab → · Contrast checker → · Palette generator →

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