#40691B#40691B

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

Color values

HEX#40691B
RGBrgb(64, 105, 27)
HSLhsl(92, 59%, 26%)
HSVhsv(92, 74%, 41%)
CMYKcmyk(39%, 0%, 74.3%, 58.8%)
CIE-LABlab(40.03, -28.38, 37.41)
CIE-LCHlch(40.03, 46.95, 127.18°)
OKLaboklab(47.35% -0.0796 0.0846)
OKLCHoklch(47.35% 0.116 133.3)
XYZxyz(7.3636, 11.2719, 2.8244)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40691B #441B69
analogous
#67691B #40691B #1B691D
triadic
#40691B #1B4069 #691B40
tetradic
#40691B #1B6769 #441B69 #691D1B
square
#40691B #1B6769 #441B69 #691D1B
split-complementary
#40691B #1D1B69 #691B67
monochromatic
#0F1806 #22380E #40691B #5E9A28 #7BCA34

Accessibility & contrast

On white

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

On black

3.25
#40691B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##40691B#FFFFFF#000000##FFFFFF
##40691B1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40691b;
/* rgb */ color: rgb(64, 105, 27);
/* oklch */ color: oklch(47.4% 0.116 133.3);
Tailwind
colors: {
  custom: {
    50: '#79945d',
    500: '#40691b',
    950: '#000000',
  },
}
SCSS
$custom: #40691b;
$custom-light: #79945d;
$custom-dark: #000000;
JSON
{
  "hex": "#40691b",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 27
  },
  "hsl": {
    "h": 91.538,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.11617,
    "h": 133.3
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#40691B
secondary
#72429E
accent
#46E298
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40691B

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

Preview Lab → · Contrast checker → · Palette generator →

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