#40671E#40671E

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

Color values

HEX#40671E
RGBrgb(64, 103, 30)
HSLhsl(92, 55%, 26%)
HSVhsv(92, 71%, 40%)
CMYKcmyk(37.9%, 0%, 70.9%, 59.6%)
CIE-LABlab(39.38, -27.18, 35.42)
CIE-LCHlch(39.38, 44.65, 127.49°)
OKLaboklab(46.83% -0.0761 0.0809)
OKLCHoklch(46.83% 0.111 133.3)
XYZxyz(7.1988, 10.8839, 2.9495)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40671E #451E67
analogous
#64671E #40671E #1E6720
triadic
#40671E #1E4067 #671E40
tetradic
#40671E #1E6467 #451E67 #67201E
square
#40671E #1E6467 #451E67 #67201E
split-complementary
#40671E #201E67 #671E64
monochromatic
#0F1807 #233810 #40671E #5D962C #7BC63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40671E#FFFFFF#000000##FFFFFF
##40671E1.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)
#6B5F14
Deuteranopia (green-blind)
#665C24
Tritanopia (blue-blind)
#406358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #40671e;
/* rgb */ color: rgb(64, 103, 30);
/* oklch */ color: oklch(46.8% 0.111 133.3);
Tailwind
colors: {
  custom: {
    50: '#78925e',
    500: '#40671e',
    950: '#000000',
  },
}
SCSS
$custom: #40671e;
$custom-light: #78925e;
$custom-dark: #000000;
JSON
{
  "hex": "#40671e",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 92.055,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.11105,
    "h": 133.3
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#40671E
secondary
#73459C
accent
#4ADE99
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40671E

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

Preview Lab → · Contrast checker → · Palette generator →

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