#40711E#40711E

#40711E is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.125 H 135.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#40711E
RGBrgb(64, 113, 30)
HSLhsl(95, 58%, 28%)
HSVhsv(95, 73%, 44%)
CMYKcmyk(43.4%, 0%, 73.5%, 55.7%)
CIE-LABlab(42.75, -31.83, 38.94)
CIE-LCHlch(42.75, 50.29, 129.27°)
OKLaboklab(49.58% -0.0888 0.0882)
OKLCHoklch(49.58% 0.125 135.2)
XYZxyz(8.2536, 12.9935, 3.3012)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40711E #4F1E71
analogous
#69711E #40711E #1E7126
triadic
#40711E #1E4071 #711E40
tetradic
#40711E #1E6971 #4F1E71 #71261E
square
#40711E #1E6971 #4F1E71 #71261E
split-complementary
#40711E #261E71 #711E69
monochromatic
#0E1806 #254111 #40711E #5BA12B #78CC3E

Accessibility & contrast

On white

5.84
#40711E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#40711E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40711E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40711E#FFFFFF#000000##FFFFFF
##40711E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756711
Deuteranopia (green-blind)
#6F6326
Tritanopia (blue-blind)
#3F6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #40711e;
/* rgb */ color: rgb(64, 113, 30);
/* oklch */ color: oklch(49.6% 0.125 135.2);
Tailwind
colors: {
  custom: {
    50: '#799a5f',
    500: '#40711e',
    950: '#000000',
  },
}
SCSS
$custom: #40711e;
$custom-light: #799a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#40711e",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 30
  },
  "hsl": {
    "h": 95.422,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.12517,
    "h": 135.2
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#40711E
secondary
#7E46A5
accent
#47E1A2
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #40711E

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

Preview Lab → · Contrast checker → · Palette generator →

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