#40671F#40671F

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

Color values

HEX#40671F
RGBrgb(64, 103, 31)
HSLhsl(93, 54%, 26%)
HSVhsv(93, 70%, 40%)
CMYKcmyk(37.9%, 0%, 69.9%, 59.6%)
CIE-LABlab(39.39, -27.09, 34.98)
CIE-LCHlch(39.39, 44.24, 127.75°)
OKLaboklab(46.84% -0.0758 0.0801)
OKLCHoklch(46.84% 0.11 133.4)
XYZxyz(7.2118, 10.8891, 3.0179)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40671F #461F67
analogous
#64671F #40671F #1F6722
triadic
#40671F #1F4067 #671F40
tetradic
#40671F #1F6467 #461F67 #67221F
square
#40671F #1F6467 #461F67 #67221F
split-complementary
#40671F #221F67 #671F64
monochromatic
#0F1807 #233811 #40671F #5D962D #7BC43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40671F#FFFFFF#000000##FFFFFF
##40671F1.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)
#6B5F15
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#406358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #40671f;
/* rgb */ color: rgb(64, 103, 31);
/* oklch */ color: oklch(46.8% 0.110 133.4);
Tailwind
colors: {
  custom: {
    50: '#78925f',
    500: '#40671f',
    950: '#000000',
  },
}
SCSS
$custom: #40671f;
$custom-light: #78925f;
$custom-dark: #000000;
JSON
{
  "hex": "#40671f",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 92.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.11025,
    "h": 133.4
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#40671F
secondary
#74469B
accent
#4BDD9A
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #40671F

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

Preview Lab → · Contrast checker → · Palette generator →

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