#408B1B#408B1B

#408B1B is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.161 H 137.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#408B1B
RGBrgb(64, 139, 27)
HSLhsl(100, 67%, 33%)
HSVhsv(100, 81%, 55%)
CMYKcmyk(54%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.42, -42.99, 48.57)
CIE-LCHlch(51.42, 64.86, 131.51°)
OKLaboklab(56.7% -0.1191 0.1079)
OKLCHoklch(56.7% 0.161 137.8)
XYZxyz(11.5444, 19.6335, 4.2180)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B1B #661B8B
analogous
#788B1B #408B1B #1B8B2E
triadic
#408B1B #1B408B #8B1B40
tetradic
#408B1B #1B788B #661B8B #8B2E1B
square
#408B1B #1B788B #661B8B #8B2E1B
split-complementary
#408B1B #2E1B8B #8B1B78
monochromatic
#112507 #285811 #408B1B #58BE25 #77DB45

Accessibility & contrast

On white

4.26
#408B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#408B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408B1B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408B1B#FFFFFF#000000##000000
##408B1B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#3A8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b1b;
/* rgb */ color: rgb(64, 139, 27);
/* oklch */ color: oklch(56.7% 0.161 137.8);
Tailwind
colors: {
  custom: {
    50: '#7dad61',
    500: '#408b1b',
    950: '#000000',
  },
}
SCSS
$custom: #408b1b;
$custom-light: #7dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#408b1b",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 100.179,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.1607,
    "h": 137.8
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#408B1B
secondary
#9545BC
accent
#3DEAB1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #408B1B

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

Preview Lab → · Contrast checker → · Palette generator →

#408B1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva