#40550C#40550C

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

Color values

HEX#40550C
RGBrgb(64, 85, 12)
HSLhsl(77, 75%, 19%)
HSVhsv(77, 86%, 33%)
CMYKcmyk(24.7%, 0%, 85.9%, 66.7%)
CIE-LABlab(33.16, -19.35, 36.49)
CIE-LCHlch(33.16, 41.31, 117.94°)
OKLaboklab(41.73% -0.0564 0.0801)
OKLCHoklch(41.73% 0.098 125.1)
XYZxyz(5.4293, 7.6135, 1.5313)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40550C #210C55
analogous
#55460C #40550C #1C550C
triadic
#40550C #0C4055 #550C40
tetradic
#40550C #0C5546 #210C55 #550C1C
square
#40550C #0C5546 #210C55 #550C1C
split-complementary
#40550C #0C1C55 #460C55
monochromatic
#141B04 #181F04 #40550C #688B14 #91C01B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40550C#FFFFFF#000000##FFFFFF
##40550C1.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)
#574E14
Tritanopia (blue-blind)
#435048
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #40550c;
/* rgb */ color: rgb(64, 85, 12);
/* oklch */ color: oklch(41.7% 0.098 125.1);
Tailwind
colors: {
  custom: {
    50: '#788552',
    500: '#40550c',
    950: '#000000',
  },
}
SCSS
$custom: #40550c;
$custom-light: #788552;
$custom-dark: #000000;
JSON
{
  "hex": "#40550c",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 77.26,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.09792,
    "h": 125.1
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#40550C
secondary
#492D90
accent
#36F26C
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#090B02
muted
#7B7C78

Preview Lab

Preview with #40550C

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

Preview Lab → · Contrast checker → · Palette generator →

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