#3A460C#3A460C

#3A460C is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 37.1% C 0.080 H 120.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3A460C
RGBrgb(58, 70, 12)
HSLhsl(72, 71%, 16%)
HSVhsv(72, 83%, 27%)
CMYKcmyk(17.1%, 0%, 82.9%, 72.5%)
CIE-LABlab(27.59, -13.95, 31.13)
CIE-LCHlch(27.59, 34.12, 114.14°)
OKLaboklab(37.1% -0.0412 0.069)
OKLCHoklch(37.1% 0.08 120.9)
XYZxyz(4.0015, 5.3064, 1.1612)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A460C #180C46
analogous
#46350C #3A460C #1D460C
triadic
#3A460C #0C3A46 #460C3A
tetradic
#3A460C #0C4635 #180C46 #460C1D
square
#3A460C #0C4635 #180C46 #460C1D
split-complementary
#3A460C #0C1D46 #350C46
monochromatic
#161A04 #161A04 #3A460C #657A15 #91AE1E

Accessibility & contrast

On white

10.19
#3A460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A460C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A460C#FFFFFF#000000##FFFFFF
##3A460C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4102
Deuteranopia (green-blind)
#494111
Tritanopia (blue-blind)
#3E423B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a460c;
/* rgb */ color: rgb(58, 70, 12);
/* oklch */ color: oklch(37.1% 0.080 120.9);
Tailwind
colors: {
  custom: {
    50: '#727950',
    500: '#3a460c',
    950: '#000000',
  },
}
SCSS
$custom: #3a460c;
$custom-light: #727950;
$custom-dark: #000000;
JSON
{
  "hex": "#3a460c",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 72.414,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.37102,
    "c": 0.08033,
    "h": 120.9
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#3A460C
secondary
#3E2C82
accent
#3AED5F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A460C

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

Preview Lab → · Contrast checker → · Palette generator →

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