#3E580F#3E580F

#3E580F is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.101 H 127.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3E580F
RGBrgb(62, 88, 15)
HSLhsl(81, 71%, 20%)
HSVhsv(81, 83%, 35%)
CMYKcmyk(29.5%, 0%, 83%, 65.5%)
CIE-LABlab(34.06, -21.66, 36.23)
CIE-LCHlch(34.06, 42.21, 120.87°)
OKLaboklab(42.43% -0.0622 0.0801)
OKLCHoklch(42.43% 0.101 127.8)
XYZxyz(5.5626, 8.0379, 1.7103)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E580F #290F58
analogous
#584D0F #3E580F #19580F
triadic
#3E580F #0F3E58 #580F3E
tetradic
#3E580F #0F584D #290F58 #580F19
square
#3E580F #0F584D #290F58 #580F19
split-complementary
#3E580F #0F1958 #4D0F58
monochromatic
#121A04 #192406 #3E580F #638C18 #88C121

Accessibility & contrast

On white

8.05
#3E580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3E580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E580F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E580F#FFFFFF#000000##FFFFFF
##3E580F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#595016
Tritanopia (blue-blind)
#41544A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e580f;
/* rgb */ color: rgb(62, 88, 15);
/* oklch */ color: oklch(42.4% 0.101 127.8);
Tailwind
colors: {
  custom: {
    50: '#768754',
    500: '#3e580f',
    950: '#000000',
  },
}
SCSS
$custom: #3e580f;
$custom-light: #768754;
$custom-dark: #000000;
JSON
{
  "hex": "#3e580f",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 81.37,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42425,
    "c": 0.10146,
    "h": 127.8
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#3E580F
secondary
#533192
accent
#3AEE7A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E580F

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

Preview Lab → · Contrast checker → · Palette generator →

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