#40671A#40671A

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

Color values

HEX#40671A
RGBrgb(64, 103, 26)
HSLhsl(90, 60%, 25%)
HSVhsv(90, 75%, 40%)
CMYKcmyk(37.9%, 0%, 74.8%, 59.6%)
CIE-LABlab(39.35, -27.51, 37.13)
CIE-LCHlch(39.35, 46.21, 126.53°)
OKLaboklab(46.79% -0.0773 0.0838)
OKLCHoklch(46.79% 0.114 132.7)
XYZxyz(7.1510, 10.8648, 2.6974)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40671A #411A67
analogous
#66671A #40671A #1A671B
triadic
#40671A #1A4067 #671A40
tetradic
#40671A #1A6667 #411A67 #671B1A
square
#40671A #1A6667 #411A67 #671B1A
split-complementary
#40671A #1B1A67 #671A66
monochromatic
#0F1806 #22360E #40671A #5E9826 #7DC933

Accessibility & contrast

On white

6.62
#40671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #40671A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40671A#FFFFFF#000000##FFFFFF
##40671A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F0D
Deuteranopia (green-blind)
#665C21
Tritanopia (blue-blind)
#416358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #40671a;
/* rgb */ color: rgb(64, 103, 26);
/* oklch */ color: oklch(46.8% 0.114 132.7);
Tailwind
colors: {
  custom: {
    50: '#78925c',
    500: '#40671a',
    950: '#000000',
  },
}
SCSS
$custom: #40671a;
$custom-light: #78925c;
$custom-dark: #000000;
JSON
{
  "hex": "#40671a",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 90.39,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.11408,
    "h": 132.7
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#40671A
secondary
#6F409D
accent
#45E395
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40671A

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

Preview Lab → · Contrast checker → · Palette generator →

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