#40550E#40550E

#40550E is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.7% C 0.097 H 125.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#40550E
RGBrgb(64, 85, 14)
HSLhsl(78, 72%, 19%)
HSVhsv(78, 84%, 33%)
CMYKcmyk(24.7%, 0%, 83.5%, 66.7%)
CIE-LABlab(33.18, -19.25, 35.81)
CIE-LCHlch(33.18, 40.65, 118.26°)
OKLaboklab(41.74% -0.0559 0.079)
OKLCHoklch(41.74% 0.097 125.3)
XYZxyz(5.4422, 7.6186, 1.5992)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40550E #230E55
analogous
#55470E #40550E #1D550E
triadic
#40550E #0E4055 #550E40
tetradic
#40550E #0E5547 #230E55 #550E1D
square
#40550E #0E5547 #230E55 #550E1D
split-complementary
#40550E #0E1D55 #470E55
monochromatic
#141A04 #182005 #40550E #688A17 #8FBE1F

Accessibility & contrast

On white

8.32
#40550E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#40550E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40550E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40550E#FFFFFF#000000##FFFFFF
##40550E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#435048
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #40550e;
/* rgb */ color: rgb(64, 85, 14);
/* oklch */ color: oklch(41.7% 0.097 125.3);
Tailwind
colors: {
  custom: {
    50: '#788553',
    500: '#40550e',
    950: '#000000',
  },
}
SCSS
$custom: #40550e;
$custom-light: #788553;
$custom-dark: #000000;
JSON
{
  "hex": "#40550e",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 14
  },
  "hsl": {
    "h": 77.746,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.09679,
    "h": 125.3
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#40550E
secondary
#4C308F
accent
#39EE6F
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #40550E

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

Preview Lab → · Contrast checker → · Palette generator →

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