#3A560D#3A560D

#3A560D is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.6% C 0.102 H 129.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3A560D
RGBrgb(58, 86, 13)
HSLhsl(83, 74%, 19%)
HSVhsv(83, 85%, 34%)
CMYKcmyk(32.6%, 0%, 84.9%, 66.3%)
CIE-LABlab(33.10, -22.50, 35.94)
CIE-LCHlch(33.10, 42.40, 122.04°)
OKLaboklab(41.57% -0.0644 0.0793)
OKLCHoklch(41.57% 0.102 129.1)
XYZxyz(5.1453, 7.5840, 1.5735)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A560D #290D56
analogous
#564E0D #3A560D #16560D
triadic
#3A560D #0D3A56 #560D3A
tetradic
#3A560D #0D564E #290D56 #560D16
square
#3A560D #0D564E #290D56 #560D16
split-complementary
#3A560D #0D1656 #4E0D56
monochromatic
#121B04 #162105 #3A560D #5E8B15 #82C01D

Accessibility & contrast

On white

8.34
#3A560D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3A560D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A560D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A560D#FFFFFF#000000##FFFFFF
##3A560D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F00
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#3C5249
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a560d;
/* rgb */ color: rgb(58, 86, 13);
/* oklch */ color: oklch(41.6% 0.102 129.1);
Tailwind
colors: {
  custom: {
    50: '#738653',
    500: '#3a560d',
    950: '#000000',
  },
}
SCSS
$custom: #3a560d;
$custom-light: #738653;
$custom-dark: #000000;
JSON
{
  "hex": "#3a560d",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 83.014,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.10215,
    "h": 129.1
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#3A560D
secondary
#542E91
accent
#37F07E
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A560D

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

Preview Lab → · Contrast checker → · Palette generator →

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