#40691C#40691C

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

Color values

HEX#40691C
RGBrgb(64, 105, 28)
HSLhsl(92, 58%, 26%)
HSVhsv(92, 73%, 41%)
CMYKcmyk(39%, 0%, 73.3%, 58.8%)
CIE-LABlab(40.04, -28.30, 36.99)
CIE-LCHlch(40.04, 46.57, 127.42°)
OKLaboklab(47.36% -0.0793 0.0839)
OKLCHoklch(47.36% 0.115 133.4)
XYZxyz(7.3754, 11.2766, 2.8864)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40691C #451C69
analogous
#66691C #40691C #1C691E
triadic
#40691C #1C4069 #691C40
tetradic
#40691C #1C6669 #451C69 #691E1C
square
#40691C #1C6669 #451C69 #691E1C
split-complementary
#40691C #1E1C69 #691C66
monochromatic
#0F1806 #23390F #40691C #5D9929 #7BC936

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40691C#FFFFFF#000000##FFFFFF
##40691C1.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)
#6D6010
Deuteranopia (green-blind)
#685D23
Tritanopia (blue-blind)
#40655A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40691c;
/* rgb */ color: rgb(64, 105, 28);
/* oklch */ color: oklch(47.4% 0.115 133.4);
Tailwind
colors: {
  custom: {
    50: '#79945d',
    500: '#40691c',
    950: '#000000',
  },
}
SCSS
$custom: #40691c;
$custom-light: #79945d;
$custom-dark: #000000;
JSON
{
  "hex": "#40691c",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 28
  },
  "hsl": {
    "h": 91.948,
    "s": 57.895,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4736,
    "c": 0.11544,
    "h": 133.4
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#40691C
secondary
#73439E
accent
#47E199
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40691C

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

Preview Lab → · Contrast checker → · Palette generator →

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