#408124#408124

#408124 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.143 H 137.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#408124
RGBrgb(64, 129, 36)
HSLhsl(102, 56%, 32%)
HSVhsv(102, 72%, 51%)
CMYKcmyk(50.4%, 0%, 72.1%, 49.4%)
CIE-LABlab(48.16, -38.29, 42.02)
CIE-LCHlch(48.16, 56.85, 132.34°)
OKLaboklab(54.03% -0.1058 0.0956)
OKLCHoklch(54.03% 0.143 137.9)
XYZxyz(10.2827, 16.9172, 4.3922)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408124 #652481
analogous
#6F8124 #408124 #248136
triadic
#408124 #244081 #812440
tetradic
#408124 #246F81 #652481 #813624
square
#408124 #246F81 #652481 #813624
split-complementary
#408124 #362481 #81246F
monochromatic
#112109 #285117 #408124 #58B131 #77CE51

Accessibility & contrast

On white

4.79
#408124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#408124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408124
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408124#FFFFFF#000000##FFFFFF
##4081241.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857616
Deuteranopia (green-blind)
#7D702D
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408124;
/* rgb */ color: rgb(64, 129, 36);
/* oklch */ color: oklch(54.0% 0.143 137.9);
Tailwind
colors: {
  custom: {
    50: '#7ba664',
    500: '#408124',
    950: '#000000',
  },
}
SCSS
$custom: #408124;
$custom-light: #7ba664;
$custom-dark: #000000;
JSON
{
  "hex": "#408124",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 101.935,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.14257,
    "h": 137.9
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

primary
#408124
secondary
#944EB2
accent
#48E0B2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #408124

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

Preview Lab → · Contrast checker → · Palette generator →

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