#406426#406426

#406426 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.1% C 0.100 H 134.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#406426
RGBrgb(64, 100, 38)
HSLhsl(95, 45%, 27%)
HSVhsv(95, 62%, 39%)
CMYKcmyk(36%, 0%, 62%, 60.8%)
CIE-LABlab(38.45, -24.92, 30.54)
CIE-LCHlch(38.45, 39.41, 129.21°)
OKLaboklab(46.09% -0.0692 0.0715)
OKLCHoklch(46.09% 0.1 134.1)
XYZxyz(7.0212, 10.3440, 3.4600)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406426 #4A2664
analogous
#5F6426 #406426 #26642B
triadic
#406426 #264064 #642640
tetradic
#406426 #265F64 #4A2664 #642B26
square
#406426 #265F64 #4A2664 #642B26
split-complementary
#406426 #2B2664 #64265F
monochromatic
#0E1608 #243815 #406426 #5C9037 #79BA4A

Accessibility & contrast

On white

6.84
#406426 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406426
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406426#FFFFFF#000000##FFFFFF
##4064261.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C1F
Deuteranopia (green-blind)
#63592A
Tritanopia (blue-blind)
#406057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406426;
/* rgb */ color: rgb(64, 100, 38);
/* oklch */ color: oklch(46.1% 0.100 134.1);
Tailwind
colors: {
  custom: {
    50: '#779063',
    500: '#406426',
    950: '#000000',
  },
}
SCSS
$custom: #406426;
$custom-light: #779063;
$custom-dark: #000000;
JSON
{
  "hex": "#406426",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 38
  },
  "hsl": {
    "h": 94.839,
    "s": 44.928,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.09954,
    "h": 134.1
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#406426
secondary
#794F97
accent
#53D59E
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #406426

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

Preview Lab → · Contrast checker → · Palette generator →

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