#40691E#40691E

#40691E is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.4% C 0.114 H 133.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#40691E
RGBrgb(64, 105, 30)
HSLhsl(93, 56%, 26%)
HSVhsv(93, 71%, 41%)
CMYKcmyk(39%, 0%, 71.4%, 58.8%)
CIE-LABlab(40.06, -28.13, 36.13)
CIE-LCHlch(40.06, 45.79, 127.90°)
OKLaboklab(47.38% -0.0787 0.0824)
OKLCHoklch(47.38% 0.114 133.7)
XYZxyz(7.4001, 11.2865, 3.0167)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40691E #471E69
analogous
#66691E #40691E #1E6922
triadic
#40691E #1E4069 #691E40
tetradic
#40691E #1E6669 #471E69 #69221E
square
#40691E #1E6669 #471E69 #69221E
split-complementary
#40691E #221E69 #691E66
monochromatic
#0F1807 #233910 #40691E #5D992C #7AC73B

Accessibility & contrast

On white

6.45
#40691E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#40691E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40691E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40691E#FFFFFF#000000##FFFFFF
##40691E1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6013
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#40655A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40691e;
/* rgb */ color: rgb(64, 105, 30);
/* oklch */ color: oklch(47.4% 0.114 133.7);
Tailwind
colors: {
  custom: {
    50: '#78945e',
    500: '#40691e',
    950: '#000000',
  },
}
SCSS
$custom: #40691e;
$custom-light: #78945e;
$custom-dark: #000000;
JSON
{
  "hex": "#40691e",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 30
  },
  "hsl": {
    "h": 92.8,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.11393,
    "h": 133.7
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#40691E
secondary
#76459E
accent
#49DF9B
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #40691E

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

Preview Lab → · Contrast checker → · Palette generator →

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