#40551A#40551A

#40551A is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.8% C 0.088 H 126.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#40551A
RGBrgb(64, 85, 26)
HSLhsl(81, 53%, 22%)
HSVhsv(81, 69%, 33%)
CMYKcmyk(24.7%, 0%, 69.4%, 66.7%)
CIE-LABlab(33.27, -18.39, 30.77)
CIE-LCHlch(33.27, 35.85, 120.86°)
OKLaboklab(41.84% -0.0524 0.0705)
OKLCHoklch(41.84% 0.088 126.6)
XYZxyz(5.5493, 7.6615, 2.1635)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40551A #2F1A55
analogous
#554D1A #40551A #23551A
triadic
#40551A #1A4055 #551A40
tetradic
#40551A #1A554D #2F1A55 #551A23
square
#40551A #1A554D #2F1A55 #551A23
split-complementary
#40551A #1A2355 #4D1A55
monochromatic
#121707 #1D260C #40551A #638428 #87B337

Accessibility & contrast

On white

8.29
#40551A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#40551A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40551A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40551A#FFFFFF#000000##FFFFFF
##40551A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F13
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#435149
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #40551a;
/* rgb */ color: rgb(64, 85, 26);
/* oklch */ color: oklch(41.8% 0.088 126.6);
Tailwind
colors: {
  custom: {
    50: '#77855a',
    500: '#40551a',
    950: '#000000',
  },
}
SCSS
$custom: #40551a;
$custom-light: #77855a;
$custom-dark: #000000;
JSON
{
  "hex": "#40551a",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 81.356,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41844,
    "c": 0.08783,
    "h": 126.6
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#40551A
secondary
#5B408B
accent
#4BDD7F
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #40551A

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

Preview Lab → · Contrast checker → · Palette generator →

#40551A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva