#40651E#40651E

#40651E is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.3% C 0.108 H 132.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#40651E
RGBrgb(64, 101, 30)
HSLhsl(91, 54%, 26%)
HSVhsv(91, 70%, 40%)
CMYKcmyk(36.6%, 0%, 70.3%, 60.4%)
CIE-LABlab(38.71, -26.21, 34.71)
CIE-LCHlch(38.71, 43.49, 127.06°)
OKLaboklab(46.28% -0.0735 0.0794)
OKLCHoklch(46.28% 0.108 132.8)
XYZxyz(7.0023, 10.4908, 2.8840)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40651E #431E65
analogous
#63651E #40651E #1E6520
triadic
#40651E #1E4065 #651E40
tetradic
#40651E #1E6365 #431E65 #65201E
square
#40651E #1E6365 #431E65 #65201E
split-complementary
#40651E #201E65 #651E63
monochromatic
#0F1807 #223610 #40651E #5E942C #7CC33A

Accessibility & contrast

On white

6.78
#40651E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#40651E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40651E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40651E#FFFFFF#000000##FFFFFF
##40651E1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D14
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#406156
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #40651e;
/* rgb */ color: rgb(64, 101, 30);
/* oklch */ color: oklch(46.3% 0.108 132.8);
Tailwind
colors: {
  custom: {
    50: '#78915e',
    500: '#40651e',
    950: '#000000',
  },
}
SCSS
$custom: #40651e;
$custom-light: #78915e;
$custom-dark: #000000;
JSON
{
  "hex": "#40651e",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 30
  },
  "hsl": {
    "h": 91.268,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46277,
    "c": 0.10815,
    "h": 132.8
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#40651E
secondary
#71459A
accent
#4ADE97
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40651E

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

Preview Lab → · Contrast checker → · Palette generator →

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