#40631E#40631E

#40631E is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.7% C 0.105 H 132.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#40631E
RGBrgb(64, 99, 30)
HSLhsl(90, 53%, 25%)
HSVhsv(90, 70%, 39%)
CMYKcmyk(35.4%, 0%, 69.7%, 61.2%)
CIE-LABlab(38.03, -25.23, 33.99)
CIE-LCHlch(38.03, 42.33, 126.59°)
OKLaboklab(45.73% -0.0708 0.0779)
OKLCHoklch(45.73% 0.105 132.3)
XYZxyz(6.8104, 10.1072, 2.8201)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40631E #411E63
analogous
#62631E #40631E #1E631F
triadic
#40631E #1E4063 #631E40
tetradic
#40631E #1E6263 #411E63 #631F1E
square
#40631E #1E6263 #411E63 #631F1E
split-complementary
#40631E #1F1E63 #631E62
monochromatic
#0F1707 #223410 #40631E #5E922C #7DC13A

Accessibility & contrast

On white

6.95
#40631E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#40631E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40631E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40631E#FFFFFF#000000##FFFFFF
##40631E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B15
Deuteranopia (green-blind)
#625924
Tritanopia (blue-blind)
#415F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #40631e;
/* rgb */ color: rgb(64, 99, 30);
/* oklch */ color: oklch(45.7% 0.105 132.3);
Tailwind
colors: {
  custom: {
    50: '#788f5e',
    500: '#40631e',
    950: '#000000',
  },
}
SCSS
$custom: #40631e;
$custom-light: #788f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#40631e",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 30
  },
  "hsl": {
    "h": 90.435,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.10523,
    "h": 132.3
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#40631E
secondary
#6F4598
accent
#4BDD95
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #40631E

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

Preview Lab → · Contrast checker → · Palette generator →

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