#3A460F#3A460F

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

Color values

HEX#3A460F
RGBrgb(58, 70, 15)
HSLhsl(73, 65%, 17%)
HSVhsv(73, 79%, 27%)
CMYKcmyk(17.1%, 0%, 78.6%, 72.5%)
CIE-LABlab(27.61, -13.76, 29.89)
CIE-LCHlch(27.61, 32.90, 114.72°)
OKLaboklab(37.13% -0.0403 0.0669)
OKLCHoklch(37.13% 0.078 121.1)
XYZxyz(4.0214, 5.3144, 1.2658)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A460F #1B0F46
analogous
#46370F #3A460F #1F460F
triadic
#3A460F #0F3A46 #460F3A
tetradic
#3A460F #0F4637 #1B0F46 #460F1F
square
#3A460F #0F4637 #1B0F46 #460F1F
split-complementary
#3A460F #0F1F46 #370F46
monochromatic
#151905 #151905 #3A460F #64781A #8EAB25

Accessibility & contrast

On white

10.18
#3A460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A460F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A460F#FFFFFF#000000##FFFFFF
##3A460F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a460f;
/* rgb */ color: rgb(58, 70, 15);
/* oklch */ color: oklch(37.1% 0.078 121.1);
Tailwind
colors: {
  custom: {
    50: '#727951',
    500: '#3a460f',
    950: '#000000',
  },
}
SCSS
$custom: #3a460f;
$custom-light: #727951;
$custom-dark: #000000;
JSON
{
  "hex": "#3a460f",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 73.091,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37127,
    "c": 0.07814,
    "h": 121.1
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#3A460F
secondary
#423080
accent
#40E865
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A460F

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

Preview Lab → · Contrast checker → · Palette generator →

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