#40891A#40891A

#40891A is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.1% C 0.159 H 137.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#40891A
RGBrgb(64, 137, 26)
HSLhsl(99, 68%, 32%)
HSVhsv(99, 81%, 54%)
CMYKcmyk(53.3%, 0%, 81%, 46.3%)
CIE-LABlab(50.75, -42.26, 48.26)
CIE-LCHlch(50.75, 64.14, 131.21°)
OKLaboklab(56.14% -0.1171 0.1071)
OKLCHoklch(56.14% 0.159 137.6)
XYZxyz(11.2461, 19.0550, 4.0625)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40891A #631A89
analogous
#78891A #40891A #1A892B
triadic
#40891A #1A4089 #891A40
tetradic
#40891A #1A7889 #631A89 #892B1A
square
#40891A #1A7889 #631A89 #892B1A
split-complementary
#40891A #2B1A89 #891A78
monochromatic
#102206 #285610 #40891A #58BC24 #77DB42

Accessibility & contrast

On white

4.36
#40891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#40891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40891A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40891A#FFFFFF#000000##000000
##40891A1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#3B8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #40891a;
/* rgb */ color: rgb(64, 137, 26);
/* oklch */ color: oklch(56.1% 0.159 137.6);
Tailwind
colors: {
  custom: {
    50: '#7dac61',
    500: '#40891a',
    950: '#000000',
  },
}
SCSS
$custom: #40891a;
$custom-light: #7dac61;
$custom-dark: #000000;
JSON
{
  "hex": "#40891a",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 99.459,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.15874,
    "h": 137.6
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#40891A
secondary
#9343BC
accent
#3DEBAF
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #40891A

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

Preview Lab → · Contrast checker → · Palette generator →

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