#406129#406129

#406129 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.3% C 0.092 H 134.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#406129
RGBrgb(64, 97, 41)
HSLhsl(95, 41%, 27%)
HSVhsv(95, 58%, 38%)
CMYKcmyk(34%, 0%, 57.7%, 62%)
CIE-LABlab(37.48, -23.06, 27.83)
CIE-LCHlch(37.48, 36.14, 129.64°)
OKLaboklab(45.31% -0.0639 0.066)
OKLCHoklch(45.31% 0.092 134.1)
XYZxyz(6.7892, 9.7992, 3.6311)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406129 #4A2961
analogous
#5C6129 #406129 #29612E
triadic
#406129 #294061 #612940
tetradic
#406129 #295C61 #4A2961 #612E29
square
#406129 #295C61 #4A2961 #612E29
split-complementary
#406129 #2E2961 #61295C
monochromatic
#0E1609 #243617 #406129 #5C8C3B #79B550

Accessibility & contrast

On white

7.10
#406129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#406129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406129
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406129#FFFFFF#000000##FFFFFF
##4061291.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A24
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#405D54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #406129;
/* rgb */ color: rgb(64, 97, 41);
/* oklch */ color: oklch(45.3% 0.092 134.1);
Tailwind
colors: {
  custom: {
    50: '#778e64',
    500: '#406129',
    950: '#000000',
  },
}
SCSS
$custom: #406129;
$custom-light: #778e64;
$custom-dark: #000000;
JSON
{
  "hex": "#406129",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 41
  },
  "hsl": {
    "h": 95.357,
    "s": 40.58,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45314,
    "c": 0.09183,
    "h": 134.1
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#406129
secondary
#795294
accent
#57D09F
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C05
muted
#7B7D7A

Preview Lab

Preview with #406129

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

Preview Lab → · Contrast checker → · Palette generator →

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