#408B1C#408B1C

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

Color values

HEX#408B1C
RGBrgb(64, 139, 28)
HSLhsl(101, 66%, 33%)
HSVhsv(101, 80%, 55%)
CMYKcmyk(54%, 0%, 79.9%, 45.5%)
CIE-LABlab(51.43, -42.93, 48.25)
CIE-LCHlch(51.43, 64.58, 131.66°)
OKLaboklab(56.7% -0.1188 0.1074)
OKLCHoklch(56.7% 0.16 137.9)
XYZxyz(11.5562, 19.6382, 4.2800)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408B1C #671C8B
analogous
#778B1C #408B1C #1C8B30
triadic
#408B1C #1C408B #8B1C40
tetradic
#408B1C #1C778B #671C8B #8B301C
square
#408B1C #1C778B #671C8B #8B301C
split-complementary
#408B1C #301C8B #8B1C77
monochromatic
#112507 #295812 #408B1C #57BE26 #77DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408B1C#FFFFFF#000000##000000
##408B1C1.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)
#867829
Tritanopia (blue-blind)
#3A8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #408b1c;
/* rgb */ color: rgb(64, 139, 28);
/* oklch */ color: oklch(56.7% 0.160 137.9);
Tailwind
colors: {
  custom: {
    50: '#7dad62',
    500: '#408b1c',
    950: '#000000',
  },
}
SCSS
$custom: #408b1c;
$custom-light: #7dad62;
$custom-dark: #000000;
JSON
{
  "hex": "#408b1c",
  "rgb": {
    "r": 64,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 100.541,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56703,
    "c": 0.16018,
    "h": 137.9
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#408B1C
secondary
#9647BC
accent
#3EE9B2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #408B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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