#3A540E#3A540E

#3A540E is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.099 H 128.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3A540E
RGBrgb(58, 84, 14)
HSLhsl(82, 71%, 19%)
HSVhsv(82, 83%, 33%)
CMYKcmyk(31%, 0%, 83.3%, 67.1%)
CIE-LABlab(32.42, -21.42, 34.95)
CIE-LCHlch(32.42, 40.99, 121.50°)
OKLaboklab(41.02% -0.0614 0.0774)
OKLCHoklch(41.02% 0.099 128.4)
XYZxyz(4.9945, 7.2718, 1.5558)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A540E #280E54
analogous
#544B0E #3A540E #17540E
triadic
#3A540E #0E3A54 #540E3A
tetradic
#3A540E #0E544B #280E54 #540E17
square
#3A540E #0E544B #280E54 #540E17
split-complementary
#3A540E #0E1754 #4B0E54
monochromatic
#121A04 #162005 #3A540E #5E8817 #82BD1F

Accessibility & contrast

On white

8.56
#3A540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3A540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A540E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A540E#FFFFFF#000000##FFFFFF
##3A540E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594D01
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#3C5047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a540e;
/* rgb */ color: rgb(58, 84, 14);
/* oklch */ color: oklch(41.0% 0.099 128.4);
Tailwind
colors: {
  custom: {
    50: '#738453',
    500: '#3a540e',
    950: '#000000',
  },
}
SCSS
$custom: #3a540e;
$custom-light: #738453;
$custom-dark: #000000;
JSON
{
  "hex": "#3a540e",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 82.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.09877,
    "h": 128.4
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#3A540E
secondary
#532F8E
accent
#3AEE7D
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A540E

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

Preview Lab → · Contrast checker → · Palette generator →

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