#40531D#40531D

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

Color values

HEX#40531D
RGBrgb(64, 83, 29)
HSLhsl(81, 48%, 22%)
HSVhsv(81, 65%, 33%)
CMYKcmyk(22.9%, 0%, 65.1%, 67.5%)
CIE-LABlab(32.62, -17.02, 28.57)
CIE-LCHlch(32.62, 33.25, 120.79°)
OKLaboklab(41.33% -0.0483 0.0662)
OKLCHoklch(41.33% 0.082 126.1)
XYZxyz(5.4294, 7.3651, 2.2977)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40531D #301D53
analogous
#534B1D #40531D #25531D
triadic
#40531D #1D4053 #531D40
tetradic
#40531D #1D534B #301D53 #531D25
square
#40531D #1D534B #301D53 #531D25
split-complementary
#40531D #1D2553 #4B1D53
monochromatic
#111708 #1D260D #40531D #63802D #86AE3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40531D#FFFFFF#000000##FFFFFF
##40531D1.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)
#574D17
Deuteranopia (green-blind)
#554C21
Tritanopia (blue-blind)
#434F47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #40531d;
/* rgb */ color: rgb(64, 83, 29);
/* oklch */ color: oklch(41.3% 0.082 126.1);
Tailwind
colors: {
  custom: {
    50: '#76835b',
    500: '#40531d',
    950: '#000000',
  },
}
SCSS
$custom: #40531d;
$custom-light: #76835b;
$custom-dark: #000000;
JSON
{
  "hex": "#40531d",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 81.111,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41334,
    "c": 0.08197,
    "h": 126.1
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#40531D
secondary
#5C4488
accent
#50D880
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #40531D

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

Preview Lab → · Contrast checker → · Palette generator →

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