#40741D#40741D

#40741D is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.130 H 135.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#40741D
RGBrgb(64, 116, 29)
HSLhsl(96, 60%, 28%)
HSVhsv(96, 75%, 45%)
CMYKcmyk(44.8%, 0%, 75%, 54.5%)
CIE-LABlab(43.75, -33.26, 40.37)
CIE-LCHlch(43.75, 52.30, 129.48°)
OKLaboklab(50.4% -0.0927 0.0911)
OKLCHoklch(50.4% 0.13 135.5)
XYZxyz(8.5813, 13.6690, 3.3484)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40741D #511D74
analogous
#6B741D #40741D #1D7425
triadic
#40741D #1D4074 #741D40
tetradic
#40741D #1D6B74 #511D74 #74251D
square
#40741D #1D6B74 #511D74 #74251D
split-complementary
#40741D #251D74 #741D6B
monochromatic
#0E1806 #254311 #40741D #5BA529 #77CE3D

Accessibility & contrast

On white

5.62
#40741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#40741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40741D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40741D#FFFFFF#000000##FFFFFF
##40741D1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0E
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#3E6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #40741d;
/* rgb */ color: rgb(64, 116, 29);
/* oklch */ color: oklch(50.4% 0.130 135.5);
Tailwind
colors: {
  custom: {
    50: '#7a9c5f',
    500: '#40741d',
    950: '#000000',
  },
}
SCSS
$custom: #40741d;
$custom-light: #7a9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#40741d",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 95.862,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.12996,
    "h": 135.5
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#40741D
secondary
#8045A8
accent
#45E3A3
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #40741D

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

Preview Lab → · Contrast checker → · Palette generator →

#40741D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva