#3E581F#3E581F

#3E581F is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.6% C 0.089 H 130.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3E581F
RGBrgb(62, 88, 31)
HSLhsl(87, 48%, 23%)
HSVhsv(87, 65%, 35%)
CMYKcmyk(29.5%, 0%, 64.8%, 65.5%)
CIE-LABlab(34.20, -20.38, 29.26)
CIE-LCHlch(34.20, 35.66, 124.86°)
OKLaboklab(42.58% -0.0572 0.068)
OKLCHoklch(42.58% 0.089 130.1)
XYZxyz(5.7236, 8.1024, 2.5584)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E581F #391F58
analogous
#58551F #3E581F #22581F
triadic
#3E581F #1F3E58 #581F3E
tetradic
#3E581F #1F5855 #391F58 #581F22
square
#3E581F #1F5855 #391F58 #581F22
split-complementary
#3E581F #1F2258 #551F58
monochromatic
#101708 #1E2B0F #3E581F #5E852F #7EB33F

Accessibility & contrast

On white

8.01
#3E581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3E581F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E581F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E581F#FFFFFF#000000##FFFFFF
##3E581F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5219
Deuteranopia (green-blind)
#585023
Tritanopia (blue-blind)
#40544C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e581f;
/* rgb */ color: rgb(62, 88, 31);
/* oklch */ color: oklch(42.6% 0.089 130.1);
Tailwind
colors: {
  custom: {
    50: '#75875d',
    500: '#3e581f',
    950: '#000000',
  },
}
SCSS
$custom: #3e581f;
$custom-light: #75875d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e581f",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 87.368,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.08888,
    "h": 130.1
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#3E581F
secondary
#66468D
accent
#50D78E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3E581F

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

Preview Lab → · Contrast checker → · Palette generator →

#3E581F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva