#40801E#40801E

#40801E is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.7% C 0.145 H 137.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#40801E
RGBrgb(64, 128, 30)
HSLhsl(99, 62%, 31%)
HSVhsv(99, 77%, 50%)
CMYKcmyk(50%, 0%, 76.6%, 49.8%)
CIE-LABlab(47.78, -38.34, 44.00)
CIE-LCHlch(47.78, 58.36, 131.06°)
OKLaboklab(53.71% -0.1063 0.0988)
OKLCHoklch(53.71% 0.145 137.1)
XYZxyz(10.0676, 16.6214, 3.9058)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40801E #5E1E80
analogous
#71801E #40801E #1E802D
triadic
#40801E #1E4080 #801E40
tetradic
#40801E #1E7180 #5E1E80 #802D1E
square
#40801E #1E7180 #5E1E80 #802D1E
split-complementary
#40801E #2D1E80 #801E71
monochromatic
#0E1D07 #274E12 #40801E #59B22A #76D345

Accessibility & contrast

On white

4.86
#40801E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#40801E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40801E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40801E#FFFFFF#000000##FFFFFF
##40801E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750A
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#3C7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #40801e;
/* rgb */ color: rgb(64, 128, 30);
/* oklch */ color: oklch(53.7% 0.145 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba561',
    500: '#40801e',
    950: '#000000',
  },
}
SCSS
$custom: #40801e;
$custom-light: #7ba561;
$custom-dark: #000000;
JSON
{
  "hex": "#40801e",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 99.184,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.14519,
    "h": 137.1
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#40801E
secondary
#8E47B3
accent
#43E5AD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #40801E

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

Preview Lab → · Contrast checker → · Palette generator →

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