#3A560B#3A560B

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

Color values

HEX#3A560B
RGBrgb(58, 86, 11)
HSLhsl(82, 77%, 19%)
HSVhsv(82, 87%, 34%)
CMYKcmyk(32.6%, 0%, 87.2%, 66.3%)
CIE-LABlab(33.09, -22.60, 36.60)
CIE-LCHlch(33.09, 43.01, 121.70°)
OKLaboklab(41.56% -0.0648 0.0803)
OKLCHoklch(41.56% 0.103 128.9)
XYZxyz(5.1331, 7.5791, 1.5090)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A560B #270B56
analogous
#564D0B #3A560B #15560B
triadic
#3A560B #0B3A56 #560B3A
tetradic
#3A560B #0B564D #270B56 #560B15
square
#3A560B #0B564D #270B56 #560B15
split-complementary
#3A560B #0B1556 #4D0B56
monochromatic
#121B03 #152004 #3A560B #5F8C12 #83C319

Accessibility & contrast

On white

8.35
#3A560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A560B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A560B#FFFFFF#000000##FFFFFF
##3A560B1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a560b;
/* rgb */ color: rgb(58, 86, 11);
/* oklch */ color: oklch(41.6% 0.103 128.9);
Tailwind
colors: {
  custom: {
    50: '#738652',
    500: '#3a560b',
    950: '#000000',
  },
}
SCSS
$custom: #3a560b;
$custom-light: #738652;
$custom-dark: #000000;
JSON
{
  "hex": "#3a560b",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 82.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.10322,
    "h": 128.9
  },
  "luminance": 0.07579
}

Semantic roles & 50–950 ramp

primary
#3A560B
secondary
#512B91
accent
#34F47C
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080B02
muted
#7B7C78

Preview Lab

Preview with #3A560B

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

Preview Lab → · Contrast checker → · Palette generator →

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