#40861A#40861A

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

Color values

HEX#40861A
RGBrgb(64, 134, 26)
HSLhsl(99, 68%, 31%)
HSVhsv(99, 81%, 53%)
CMYKcmyk(52.2%, 0%, 80.6%, 47.5%)
CIE-LABlab(49.75, -41.06, 47.32)
CIE-LCHlch(49.75, 62.65, 130.95°)
OKLaboklab(55.32% -0.1139 0.1052)
OKLCHoklch(55.32% 0.155 137.3)
XYZxyz(10.8256, 18.2140, 3.9223)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40861A #601A86
analogous
#76861A #40861A #1A862A
triadic
#40861A #1A4086 #861A40
tetradic
#40861A #1A7686 #601A86 #862A1A
square
#40861A #1A7686 #601A86 #862A1A
split-complementary
#40861A #2A1A86 #861A76
monochromatic
#0F1F06 #285310 #40861A #58B924 #76DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40861A#FFFFFF#000000##000000
##40861A1.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)
#827426
Tritanopia (blue-blind)
#3B8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40861a;
/* rgb */ color: rgb(64, 134, 26);
/* oklch */ color: oklch(55.3% 0.155 137.3);
Tailwind
colors: {
  custom: {
    50: '#7daa60',
    500: '#40861a',
    950: '#000000',
  },
}
SCSS
$custom: #40861a;
$custom-light: #7daa60;
$custom-dark: #000000;
JSON
{
  "hex": "#40861a",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 98.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55323,
    "c": 0.15504,
    "h": 137.3
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#40861A
secondary
#9042B9
accent
#3DEAAE
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #40861A

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

Preview Lab → · Contrast checker → · Palette generator →

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