#40550F#40550F

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

Color values

HEX#40550F
RGBrgb(64, 85, 15)
HSLhsl(78, 70%, 20%)
HSVhsv(78, 82%, 33%)
CMYKcmyk(24.7%, 0%, 82.4%, 66.7%)
CIE-LABlab(33.18, -19.19, 35.45)
CIE-LCHlch(33.18, 40.31, 118.43°)
OKLaboklab(41.75% -0.0557 0.0784)
OKLCHoklch(41.75% 0.096 125.4)
XYZxyz(5.4491, 7.6214, 1.6358)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40550F #240F55
analogous
#55470F #40550F #1D550F
triadic
#40550F #0F4055 #550F40
tetradic
#40550F #0F5547 #240F55 #550F1D
square
#40550F #0F5547 #240F55 #550F1D
split-complementary
#40550F #0F1D55 #470F55
monochromatic
#141A05 #192106 #40550F #678918 #8EBD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40550F#FFFFFF#000000##FFFFFF
##40550F1.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)
#5A4F02
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#435048
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #40550f;
/* rgb */ color: rgb(64, 85, 15);
/* oklch */ color: oklch(41.7% 0.096 125.4);
Tailwind
colors: {
  custom: {
    50: '#778554',
    500: '#40550f',
    950: '#000000',
  },
}
SCSS
$custom: #40550f;
$custom-light: #778554;
$custom-dark: #000000;
JSON
{
  "hex": "#40550f",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 78,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41747,
    "c": 0.09618,
    "h": 125.4
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#40550F
secondary
#4D318F
accent
#3BED70
background
#F7F8F5
surface
#EDEFE8
border
#C8CAC4
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #40550F

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

Preview Lab → · Contrast checker → · Palette generator →

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