#40861B#40861B

#40861B is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.3% C 0.155 H 137.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#40861B
RGBrgb(64, 134, 27)
HSLhsl(99, 66%, 32%)
HSVhsv(99, 80%, 53%)
CMYKcmyk(52.2%, 0%, 79.9%, 47.5%)
CIE-LABlab(49.76, -41.00, 46.99)
CIE-LCHlch(49.76, 62.36, 131.10°)
OKLaboklab(55.33% -0.1137 0.1046)
OKLCHoklch(55.33% 0.155 137.4)
XYZxyz(10.8369, 18.2185, 3.9822)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40861B #611B86
analogous
#76861B #40861B #1B862B
triadic
#40861B #1B4086 #861B40
tetradic
#40861B #1B7686 #611B86 #862B1B
square
#40861B #1B7686 #611B86 #862B1B
split-complementary
#40861B #2B1B86 #861B76
monochromatic
#0F2006 #285311 #40861B #58B925 #76D942

Accessibility & contrast

On white

4.52
#40861B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#40861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40861B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40861B#FFFFFF#000000##000000
##40861B1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#3B8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40861b;
/* rgb */ color: rgb(64, 134, 27);
/* oklch */ color: oklch(55.3% 0.155 137.4);
Tailwind
colors: {
  custom: {
    50: '#7caa61',
    500: '#40861b',
    950: '#000000',
  },
}
SCSS
$custom: #40861b;
$custom-light: #7caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#40861b",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 99.252,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.15452,
    "h": 137.4
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#40861B
secondary
#9144B9
accent
#3EE9AE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #40861B

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

Preview Lab → · Contrast checker → · Palette generator →

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