#408229#408229

#408229 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.140 H 138.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#408229
RGBrgb(64, 130, 41)
HSLhsl(104, 52%, 34%)
HSVhsv(104, 68%, 51%)
CMYKcmyk(50.8%, 0%, 68.5%, 49%)
CIE-LABlab(48.53, -38.26, 40.28)
CIE-LCHlch(48.53, 55.55, 133.52°)
OKLaboklab(54.35% -0.1054 0.0926)
OKLCHoklch(54.35% 0.14 138.7)
XYZxyz(10.4968, 17.2146, 4.8670)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408229 #6B2982
analogous
#6C8229 #408229 #29823E
triadic
#408229 #294082 #822940
tetradic
#408229 #296C82 #6B2982 #823E29
square
#408229 #296C82 #6B2982 #823E29
split-complementary
#408229 #3E2982 #82296C
monochromatic
#12250C #29531A #408229 #57B138 #77CB5A

Accessibility & contrast

On white

4.73
#408229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#408229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408229
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408229#FFFFFF#000000##FFFFFF
##4082291.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#3B7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #408229;
/* rgb */ color: rgb(64, 130, 41);
/* oklch */ color: oklch(54.3% 0.140 138.7);
Tailwind
colors: {
  custom: {
    50: '#7ba767',
    500: '#408229',
    950: '#000000',
  },
}
SCSS
$custom: #408229;
$custom-light: #7ba767;
$custom-dark: #000000;
JSON
{
  "hex": "#408229",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 104.494,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.14025,
    "h": 138.7
  },
  "luminance": 0.17215
}

Semantic roles & 50–950 ramp

primary
#408229
secondary
#9956B0
accent
#4CDBB6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #408229

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

Preview Lab → · Contrast checker → · Palette generator →

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