#3A5013#3A5013

#3A5013 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.090 H 127.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3A5013
RGBrgb(58, 80, 19)
HSLhsl(82, 62%, 19%)
HSVhsv(82, 76%, 31%)
CMYKcmyk(27.5%, 0%, 76.3%, 68.6%)
CIE-LABlab(31.08, -18.99, 31.61)
CIE-LCHlch(31.08, 36.87, 121.00°)
OKLaboklab(39.94% -0.0543 0.0712)
OKLCHoklch(39.94% 0.09 127.3)
XYZxyz(4.7311, 6.6838, 1.6568)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5013 #291350
analogous
#504813 #3A5013 #1C5013
triadic
#3A5013 #133A50 #50133A
tetradic
#3A5013 #135048 #291350 #50131C
square
#3A5013 #135048 #291350 #50131C
split-complementary
#3A5013 #131C50 #481350
monochromatic
#121906 #161F07 #3A5013 #5E811F #82B32A

Accessibility & contrast

On white

8.99
#3A5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5013
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5013#FFFFFF#000000##FFFFFF
##3A50131.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#3C4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a5013;
/* rgb */ color: rgb(58, 80, 19);
/* oklch */ color: oklch(39.9% 0.090 127.3);
Tailwind
colors: {
  custom: {
    50: '#728155',
    500: '#3a5013',
    950: '#000000',
  },
}
SCSS
$custom: #3a5013;
$custom-light: #728155;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5013",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 81.639,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.08959,
    "h": 127.3
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#3A5013
secondary
#543689
accent
#43E57D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5013

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

Preview Lab → · Contrast checker → · Palette generator →

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