#40671D#40671D

#40671D is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.8% C 0.112 H 133.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#40671D
RGBrgb(64, 103, 29)
HSLhsl(92, 56%, 26%)
HSVhsv(92, 72%, 40%)
CMYKcmyk(37.9%, 0%, 71.8%, 59.6%)
CIE-LABlab(39.38, -27.26, 35.86)
CIE-LCHlch(39.38, 45.05, 127.24°)
OKLaboklab(46.82% -0.0764 0.0817)
OKLCHoklch(46.82% 0.112 133.1)
XYZxyz(7.1863, 10.8789, 2.8834)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40671D #441D67
analogous
#65671D #40671D #1D671F
triadic
#40671D #1D4067 #671D40
tetradic
#40671D #1D6567 #441D67 #671F1D
square
#40671D #1D6567 #441D67 #671F1D
split-complementary
#40671D #1F1D67 #671D65
monochromatic
#0F1807 #223710 #40671D #5E972A #7BC738

Accessibility & contrast

On white

6.61
#40671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#40671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40671D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40671D#FFFFFF#000000##FFFFFF
##40671D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F12
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#406358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #40671d;
/* rgb */ color: rgb(64, 103, 29);
/* oklch */ color: oklch(46.8% 0.112 133.1);
Tailwind
colors: {
  custom: {
    50: '#78925d',
    500: '#40671d',
    950: '#000000',
  },
}
SCSS
$custom: #40671d;
$custom-light: #78925d;
$custom-dark: #000000;
JSON
{
  "hex": "#40671d",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 91.622,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46818,
    "c": 0.11184,
    "h": 133.1
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#40671D
secondary
#72449C
accent
#48DF98
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40671D

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

Preview Lab → · Contrast checker → · Palette generator →

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