#3A5313#3A5313

#3A5313 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.094 H 128.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3A5313
RGBrgb(58, 83, 19)
HSLhsl(83, 63%, 20%)
HSVhsv(83, 77%, 33%)
CMYKcmyk(30.1%, 0%, 77.1%, 67.5%)
CIE-LABlab(32.11, -20.57, 32.65)
CIE-LCHlch(32.11, 38.59, 122.21°)
OKLaboklab(40.78% -0.0586 0.0734)
OKLCHoklch(40.78% 0.094 128.6)
XYZxyz(4.9557, 7.1329, 1.7317)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5313 #2C1353
analogous
#534C13 #3A5313 #1A5313
triadic
#3A5313 #133A53 #53133A
tetradic
#3A5313 #13534C #2C1353 #53131A
square
#3A5313 #13534C #2C1353 #53131A
split-complementary
#3A5313 #131A53 #4C1353
monochromatic
#111906 #172108 #3A5313 #5D851E #80B72A

Accessibility & contrast

On white

8.65
#3A5313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A5313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5313
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5313#FFFFFF#000000##FFFFFF
##3A53131.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D08
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#3C4F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a5313;
/* rgb */ color: rgb(58, 83, 19);
/* oklch */ color: oklch(40.8% 0.094 128.6);
Tailwind
colors: {
  custom: {
    50: '#738355',
    500: '#3a5313',
    950: '#000000',
  },
}
SCSS
$custom: #3a5313;
$custom-light: #738355;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5313",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 83.438,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.40775,
    "c": 0.09398,
    "h": 128.6
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#3A5313
secondary
#58368B
accent
#42E682
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5313

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

Preview Lab → · Contrast checker → · Palette generator →

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