#408338#408338

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

Color values

HEX#408338
RGBrgb(64, 131, 56)
HSLhsl(114, 40%, 37%)
HSVhsv(114, 57%, 51%)
CMYKcmyk(51.1%, 0%, 57.3%, 48.6%)
CIE-LABlab(49.02, -36.99, 33.68)
CIE-LCHlch(49.02, 50.03, 137.68°)
OKLaboklab(54.8% -0.101 0.08)
OKLCHoklch(54.8% 0.129 141.6)
XYZxyz(10.9440, 17.6073, 6.5625)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408338 #7B3883
analogous
#668338 #408338 #388356
triadic
#408338 #384083 #833840
tetradic
#408338 #386683 #7B3883 #835638
square
#408338 #386683 #7B3883 #835638
split-complementary
#408338 #563883 #833866
monochromatic
#162D13 #2B5826 #408338 #55AE4A #7BC372

Accessibility & contrast

On white

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

On black

4.52
#408338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##408338#FFFFFF#000000##FFFFFF
##4083381.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#387F72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408338;
/* rgb */ color: rgb(64, 131, 56);
/* oklch */ color: oklch(54.8% 0.129 141.6);
Tailwind
colors: {
  custom: {
    50: '#7ba871',
    500: '#408338',
    950: '#000000',
  },
}
SCSS
$custom: #408338;
$custom-light: #7ba871;
$custom-dark: #000000;
JSON
{
  "hex": "#408338",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 113.6,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.12884,
    "h": 141.6
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#408338
secondary
#A56BAC
accent
#58D0C3
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #408338

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

Preview Lab → · Contrast checker → · Palette generator →

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