#40671C#40671C

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

Color values

HEX#40671C
RGBrgb(64, 103, 28)
HSLhsl(91, 57%, 26%)
HSVhsv(91, 73%, 40%)
CMYKcmyk(37.9%, 0%, 72.8%, 59.6%)
CIE-LABlab(39.37, -27.35, 36.29)
CIE-LCHlch(39.37, 45.44, 127.00°)
OKLaboklab(46.81% -0.0767 0.0824)
OKLCHoklch(46.81% 0.113 133)
XYZxyz(7.1741, 10.8740, 2.8193)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40671C #431C67
analogous
#65671C #40671C #1C671D
triadic
#40671C #1C4067 #671C40
tetradic
#40671C #1C6567 #431C67 #671D1C
square
#40671C #1C6567 #431C67 #671D1C
split-complementary
#40671C #1D1C67 #671C65
monochromatic
#0F1807 #22370F #40671C #5E9729 #7CC736

Accessibility & contrast

On white

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

On black

3.17
#40671C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40671C#FFFFFF#000000##FFFFFF
##40671C1.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40671c;
/* rgb */ color: rgb(64, 103, 28);
/* oklch */ color: oklch(46.8% 0.113 133.0);
Tailwind
colors: {
  custom: {
    50: '#78925d',
    500: '#40671c',
    950: '#000000',
  },
}
SCSS
$custom: #40671c;
$custom-light: #78925d;
$custom-dark: #000000;
JSON
{
  "hex": "#40671c",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 91.2,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46808,
    "c": 0.1126,
    "h": 133
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#40671C
secondary
#71439C
accent
#47E197
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40671C

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

Preview Lab → · Contrast checker → · Palette generator →

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