#3A5813#3A5813

#3A5813 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.2% C 0.101 H 130.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3A5813
RGBrgb(58, 88, 19)
HSLhsl(86, 64%, 21%)
HSVhsv(86, 78%, 35%)
CMYKcmyk(34.1%, 0%, 78.4%, 65.5%)
CIE-LABlab(33.83, -23.13, 34.37)
CIE-LCHlch(33.83, 41.42, 123.94°)
OKLaboklab(42.18% -0.0656 0.077)
OKLCHoklch(42.18% 0.101 130.4)
XYZxyz(5.3522, 7.9258, 1.8638)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5813 #311358
analogous
#585313 #3A5813 #175813
triadic
#3A5813 #133A58 #58133A
tetradic
#3A5813 #135853 #311358 #581317
square
#3A5813 #135853 #311358 #581317
split-complementary
#3A5813 #131758 #531358
monochromatic
#111905 #192608 #3A5813 #5B8A1E #7CBD29

Accessibility & contrast

On white

8.12
#3A5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5813
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5813#FFFFFF#000000##FFFFFF
##3A58131.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5107
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#3C544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a5813;
/* rgb */ color: rgb(58, 88, 19);
/* oklch */ color: oklch(42.2% 0.101 130.4);
Tailwind
colors: {
  custom: {
    50: '#738756',
    500: '#3a5813',
    950: '#000000',
  },
}
SCSS
$custom: #3a5813;
$custom-light: #738756;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5813",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 86.087,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.1012,
    "h": 130.4
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#3A5813
secondary
#5E3790
accent
#40E789
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5813

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

Preview Lab → · Contrast checker → · Palette generator →

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