#405129#405129

#405129 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 41.0% C 0.065 H 127.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#405129
RGBrgb(64, 81, 41)
HSLhsl(86, 33%, 24%)
HSVhsv(86, 49%, 32%)
CMYKcmyk(21%, 0%, 49.4%, 68.2%)
CIE-LABlab(32.11, -14.49, 21.31)
CIE-LCHlch(32.11, 25.77, 124.21°)
OKLaboklab(40.97% -0.0401 0.0516)
OKLCHoklch(40.97% 0.065 127.9)
XYZxyz(5.4570, 7.1349, 3.1871)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405129 #3A2951
analogous
#514E29 #405129 #2C5129
triadic
#405129 #294051 #512940
tetradic
#405129 #29514E #3A2951 #51292C
square
#405129 #29514E #3A2951 #51292C
split-complementary
#405129 #292C51 #4E2951
monochromatic
#10140A #202814 #405129 #607A3E #80A252

Accessibility & contrast

On white

8.65
#405129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#405129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405129
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405129#FFFFFF#000000##FFFFFF
##4051291.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C26
Deuteranopia (green-blind)
#524B2B
Tritanopia (blue-blind)
#424E47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405129;
/* rgb */ color: rgb(64, 81, 41);
/* oklch */ color: oklch(41.0% 0.065 127.9);
Tailwind
colors: {
  custom: {
    50: '#768263',
    500: '#405129',
    950: '#000000',
  },
}
SCSS
$custom: #405129;
$custom-light: #768263;
$custom-dark: #000000;
JSON
{
  "hex": "#405129",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 41
  },
  "hsl": {
    "h": 85.5,
    "s": 32.787,
    "l": 23.922
  },
  "oklch": {
    "l": 0.40972,
    "c": 0.06533,
    "h": 127.9
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#405129
secondary
#675283
accent
#5FC98C
background
#F7F7F5
surface
#EDEEEA
border
#C8C9C6
text
#080A05
muted
#7B7C79

Preview Lab

Preview with #405129

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

Preview Lab → · Contrast checker → · Palette generator →

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