#40590E#40590E

#40590E is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.8% C 0.102 H 127.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#40590E
RGBrgb(64, 89, 14)
HSLhsl(80, 73%, 20%)
HSVhsv(80, 84%, 35%)
CMYKcmyk(28.1%, 0%, 84.3%, 65.1%)
CIE-LABlab(34.53, -21.34, 37.07)
CIE-LCHlch(34.53, 42.77, 119.94°)
OKLaboklab(42.84% -0.0616 0.0817)
OKLCHoklch(42.84% 0.102 127)
XYZxyz(5.7660, 8.2663, 1.7072)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40590E #270E59
analogous
#594C0E #40590E #1A590E
triadic
#40590E #0E4059 #590E40
tetradic
#40590E #0E594C #270E59 #590E1A
square
#40590E #0E594C #270E59 #590E1A
split-complementary
#40590E #0E1A59 #4C0E59
monochromatic
#131A04 #1A2406 #40590E #668E16 #8CC31F

Accessibility & contrast

On white

7.91
#40590E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#40590E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40590E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40590E#FFFFFF#000000##FFFFFF
##40590E1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#43544B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #40590e;
/* rgb */ color: rgb(64, 89, 14);
/* oklch */ color: oklch(42.8% 0.102 127.0);
Tailwind
colors: {
  custom: {
    50: '#788854',
    500: '#40590e',
    950: '#000000',
  },
}
SCSS
$custom: #40590e;
$custom-light: #788854;
$custom-dark: #000000;
JSON
{
  "hex": "#40590e",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 14
  },
  "hsl": {
    "h": 80,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4284,
    "c": 0.10229,
    "h": 127
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#40590E
secondary
#513093
accent
#38F075
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #40590E

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

Preview Lab → · Contrast checker → · Palette generator →

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