#40861C#40861C

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

Color values

HEX#40861C
RGBrgb(64, 134, 28)
HSLhsl(100, 65%, 32%)
HSVhsv(100, 79%, 53%)
CMYKcmyk(52.2%, 0%, 79.1%, 47.5%)
CIE-LABlab(49.77, -40.93, 46.66)
CIE-LCHlch(49.77, 62.07, 131.26°)
OKLaboklab(55.34% -0.1135 0.1041)
OKLCHoklch(55.34% 0.154 137.5)
XYZxyz(10.8487, 18.2232, 4.0441)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40861C #621C86
analogous
#75861C #40861C #1C862D
triadic
#40861C #1C4086 #861C40
tetradic
#40861C #1C7586 #621C86 #862D1C
square
#40861C #1C7586 #621C86 #862D1C
split-complementary
#40861C #2D1C86 #861C75
monochromatic
#102107 #285311 #40861C #58B927 #77D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40861C#FFFFFF#000000##000000
##40861C1.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)
#8B7A02
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#3B8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #40861c;
/* rgb */ color: rgb(64, 134, 28);
/* oklch */ color: oklch(55.3% 0.154 137.5);
Tailwind
colors: {
  custom: {
    50: '#7caa61',
    500: '#40861c',
    950: '#000000',
  },
}
SCSS
$custom: #40861c;
$custom-light: #7caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#40861c",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 99.623,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.15397,
    "h": 137.5
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#40861C
secondary
#9245B9
accent
#3FE8AF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #40861C

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

Preview Lab → · Contrast checker → · Palette generator →

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