#3A580D#3A580D

#3A580D is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.105 H 129.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3A580D
RGBrgb(58, 88, 13)
HSLhsl(84, 74%, 20%)
HSVhsv(84, 85%, 35%)
CMYKcmyk(34.1%, 0%, 85.2%, 65.5%)
CIE-LABlab(33.79, -23.50, 36.58)
CIE-LCHlch(33.79, 43.48, 122.72°)
OKLaboklab(42.13% -0.0671 0.0806)
OKLCHoklch(42.13% 0.105 129.8)
XYZxyz(5.3073, 7.9079, 1.6274)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A580D #2B0D58
analogous
#58510D #3A580D #15580D
triadic
#3A580D #0D3A58 #580D3A
tetradic
#3A580D #0D5851 #2B0D58 #580D15
square
#3A580D #0D5851 #2B0D58 #580D15
split-complementary
#3A580D #0D1558 #510D58
monochromatic
#121B04 #172305 #3A580D #5D8D15 #80C31D

Accessibility & contrast

On white

8.13
#3A580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3A580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A580D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A580D#FFFFFF#000000##FFFFFF
##3A580D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#584F15
Tritanopia (blue-blind)
#3C544A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a580d;
/* rgb */ color: rgb(58, 88, 13);
/* oklch */ color: oklch(42.1% 0.105 129.8);
Tailwind
colors: {
  custom: {
    50: '#748753',
    500: '#3a580d',
    950: '#000000',
  },
}
SCSS
$custom: #3a580d;
$custom-light: #748753;
$custom-dark: #000000;
JSON
{
  "hex": "#3a580d",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 84,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42132,
    "c": 0.10492,
    "h": 129.8
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#3A580D
secondary
#562E93
accent
#37F181
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A580D

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

Preview Lab → · Contrast checker → · Palette generator →

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