#3A560F#3A560F

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

Color values

HEX#3A560F
RGBrgb(58, 86, 15)
HSLhsl(84, 70%, 20%)
HSVhsv(84, 83%, 34%)
CMYKcmyk(32.6%, 0%, 82.6%, 66.3%)
CIE-LABlab(33.11, -22.38, 35.24)
CIE-LCHlch(33.11, 41.74, 122.42°)
OKLaboklab(41.58% -0.0639 0.0782)
OKLCHoklch(41.58% 0.101 129.3)
XYZxyz(5.1589, 7.5895, 1.6449)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A560F #2B0F56
analogous
#564F0F #3A560F #17560F
triadic
#3A560F #0F3A56 #560F3A
tetradic
#3A560F #0F564F #2B0F56 #560F17
square
#3A560F #0F564F #2B0F56 #560F17
split-complementary
#3A560F #0F1756 #4F0F56
monochromatic
#121A05 #172206 #3A560F #5D8A18 #80BE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A560F#FFFFFF#000000##FFFFFF
##3A560F1.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)
#5A4F01
Deuteranopia (green-blind)
#574D16
Tritanopia (blue-blind)
#3C5249
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a560f;
/* rgb */ color: rgb(58, 86, 15);
/* oklch */ color: oklch(41.6% 0.101 129.3);
Tailwind
colors: {
  custom: {
    50: '#738654',
    500: '#3a560f',
    950: '#000000',
  },
}
SCSS
$custom: #3a560f;
$custom-light: #738654;
$custom-dark: #000000;
JSON
{
  "hex": "#3a560f",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 83.662,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.10097,
    "h": 129.3
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#3A560F
secondary
#563190
accent
#3BED81
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A560F

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

Preview Lab → · Contrast checker → · Palette generator →

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