#40691A#40691A

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

Color values

HEX#40691A
RGBrgb(64, 105, 26)
HSLhsl(91, 60%, 26%)
HSVhsv(91, 75%, 41%)
CMYKcmyk(39%, 0%, 75.2%, 58.8%)
CIE-LABlab(40.03, -28.45, 37.82)
CIE-LCHlch(40.03, 47.33, 126.96°)
OKLaboklab(47.34% -0.0799 0.0853)
OKLCHoklch(47.34% 0.117 133.1)
XYZxyz(7.3523, 11.2674, 2.7645)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40691A #431A69
analogous
#67691A #40691A #1A691B
triadic
#40691A #1A4069 #691A40
tetradic
#40691A #1A6769 #431A69 #691B1A
square
#40691A #1A6769 #431A69 #691B1A
split-complementary
#40691A #1B1A69 #691A67
monochromatic
#0F1906 #22380E #40691A #5E9A26 #7CCB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40691A#FFFFFF#000000##FFFFFF
##40691A1.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)
#6D600D
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#406559
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #40691a;
/* rgb */ color: rgb(64, 105, 26);
/* oklch */ color: oklch(47.3% 0.117 133.1);
Tailwind
colors: {
  custom: {
    50: '#79945c',
    500: '#40691a',
    950: '#000000',
  },
}
SCSS
$custom: #40691a;
$custom-light: #79945c;
$custom-dark: #000000;
JSON
{
  "hex": "#40691a",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 26
  },
  "hsl": {
    "h": 91.139,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.11688,
    "h": 133.1
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#40691A
secondary
#71409E
accent
#44E397
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #40691A

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

Preview Lab → · Contrast checker → · Palette generator →

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