#40510E#40510E

#40510E is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.091 H 123.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#40510E
RGBrgb(64, 81, 14)
HSLhsl(75, 71%, 19%)
HSVhsv(75, 83%, 32%)
CMYKcmyk(21%, 0%, 82.7%, 68.2%)
CIE-LABlab(31.82, -17.10, 34.54)
CIE-LCHlch(31.82, 38.54, 116.34°)
OKLaboklab(40.64% -0.05 0.0763)
OKLCHoklch(40.64% 0.091 123.3)
XYZxyz(5.1361, 7.0065, 1.4972)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40510E #1F0E51
analogous
#51400E #40510E #1E510E
triadic
#40510E #0E4051 #510E40
tetradic
#40510E #0E5140 #1F0E51 #510E1E
square
#40510E #0E5140 #1F0E51 #510E1E
split-complementary
#40510E #0E1E51 #400E51
monochromatic
#151A05 #171D05 #40510E #698517 #92B920

Accessibility & contrast

On white

8.74
#40510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#40510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40510E#FFFFFF#000000##FFFFFF
##40510E1.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)
#564B02
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#444C44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #40510e;
/* rgb */ color: rgb(64, 81, 14);
/* oklch */ color: oklch(40.6% 0.091 123.3);
Tailwind
colors: {
  custom: {
    50: '#778153',
    500: '#40510e',
    950: '#000000',
  },
}
SCSS
$custom: #40510e;
$custom-light: #778153;
$custom-dark: #000000;
JSON
{
  "hex": "#40510e",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 75.224,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.09126,
    "h": 123.3
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#40510E
secondary
#472F8C
accent
#3AED68
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #40510E

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

Preview Lab → · Contrast checker → · Palette generator →

#40510E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva