#405110#405110

#405110 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.7% C 0.090 H 123.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#405110
RGBrgb(64, 81, 16)
HSLhsl(76, 67%, 19%)
HSVhsv(76, 80%, 32%)
CMYKcmyk(21%, 0%, 80.2%, 68.2%)
CIE-LABlab(31.83, -16.98, 33.77)
CIE-LCHlch(31.83, 37.80, 116.69°)
OKLaboklab(40.66% -0.0495 0.0751)
OKLCHoklch(40.66% 0.09 123.4)
XYZxyz(5.1504, 7.0122, 1.5723)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405110 #211051
analogous
#514210 #405110 #205110
triadic
#405110 #104051 #511040
tetradic
#405110 #105142 #211051 #511020
square
#405110 #105142 #211051 #511020
split-complementary
#405110 #102051 #421051
monochromatic
#141A05 #181E06 #405110 #68841A #91B724

Accessibility & contrast

On white

8.74
#405110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#405110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405110
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405110#FFFFFF#000000##FFFFFF
##4051101.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B04
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#444D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #405110;
/* rgb */ color: rgb(64, 81, 16);
/* oklch */ color: oklch(40.7% 0.090 123.4);
Tailwind
colors: {
  custom: {
    50: '#778154',
    500: '#405110',
    950: '#000000',
  },
}
SCSS
$custom: #405110;
$custom-light: #778154;
$custom-dark: #000000;
JSON
{
  "hex": "#405110",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 75.692,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.08995,
    "h": 123.4
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#405110
secondary
#49328B
accent
#3EEA6B
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #405110

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

Preview Lab → · Contrast checker → · Palette generator →

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