#406429#406429

#406429 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.097 H 134.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#406429
RGBrgb(64, 100, 41)
HSLhsl(97, 42%, 28%)
HSVhsv(97, 59%, 39%)
CMYKcmyk(36%, 0%, 59%, 60.8%)
CIE-LABlab(38.49, -24.57, 29.02)
CIE-LCHlch(38.49, 38.02, 130.25°)
OKLaboklab(46.13% -0.068 0.0686)
OKLCHoklch(46.13% 0.097 134.8)
XYZxyz(7.0716, 10.3641, 3.7253)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406429 #4D2964
analogous
#5D6429 #406429 #29642F
triadic
#406429 #294064 #642940
tetradic
#406429 #295D64 #4D2964 #642F29
square
#406429 #295D64 #4D2964 #642F29
split-complementary
#406429 #2F2964 #64295D
monochromatic
#0E1609 #243917 #406429 #5C8F3B #78B750

Accessibility & contrast

On white

6.83
#406429 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#406429 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406429
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406429#FFFFFF#000000##FFFFFF
##4064291.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D23
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#406057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406429;
/* rgb */ color: rgb(64, 100, 41);
/* oklch */ color: oklch(46.1% 0.097 134.8);
Tailwind
colors: {
  custom: {
    50: '#779065',
    500: '#406429',
    950: '#000000',
  },
}
SCSS
$custom: #406429;
$custom-light: #779065;
$custom-dark: #000000;
JSON
{
  "hex": "#406429",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 41
  },
  "hsl": {
    "h": 96.61,
    "s": 41.844,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46134,
    "c": 0.09658,
    "h": 134.8
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#406429
secondary
#7C5296
accent
#56D2A2
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C05
muted
#7B7D7A

Preview Lab

Preview with #406429

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

Preview Lab → · Contrast checker → · Palette generator →

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