#40531E#40531E

#40531E is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.081 H 126.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#40531E
RGBrgb(64, 83, 30)
HSLhsl(82, 47%, 22%)
HSVhsv(82, 64%, 33%)
CMYKcmyk(22.9%, 0%, 63.9%, 67.5%)
CIE-LABlab(32.64, -16.92, 28.06)
CIE-LCHlch(32.64, 32.77, 121.09°)
OKLaboklab(41.35% -0.0479 0.0653)
OKLCHoklch(41.35% 0.081 126.3)
XYZxyz(5.4420, 7.3702, 2.3639)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40531E #311E53
analogous
#534C1E #40531E #26531E
triadic
#40531E #1E4053 #531E40
tetradic
#40531E #1E534C #311E53 #531E26
square
#40531E #1E534C #311E53 #531E26
split-complementary
#40531E #1E2653 #4C1E53
monochromatic
#111608 #1D260E #40531E #63802E #85AD3E

Accessibility & contrast

On white

8.49
#40531E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#40531E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40531E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40531E#FFFFFF#000000##FFFFFF
##40531E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D18
Deuteranopia (green-blind)
#554C22
Tritanopia (blue-blind)
#434F48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #40531e;
/* rgb */ color: rgb(64, 83, 30);
/* oklch */ color: oklch(41.3% 0.081 126.3);
Tailwind
colors: {
  custom: {
    50: '#76835c',
    500: '#40531e',
    950: '#000000',
  },
}
SCSS
$custom: #40531e;
$custom-light: #76835c;
$custom-dark: #000000;
JSON
{
  "hex": "#40531e",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 30
  },
  "hsl": {
    "h": 81.509,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.08098,
    "h": 126.3
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#40531E
secondary
#5D4588
accent
#51D781
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #40531E

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

Preview Lab → · Contrast checker → · Palette generator →

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