#3A460B#3A460B

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

Color values

HEX#3A460B
RGBrgb(58, 70, 11)
HSLhsl(72, 73%, 16%)
HSVhsv(72, 84%, 27%)
CMYKcmyk(17.1%, 0%, 84.3%, 72.5%)
CIE-LABlab(27.58, -14.01, 31.52)
CIE-LCHlch(27.58, 34.49, 113.96°)
OKLaboklab(37.1% -0.0414 0.0696)
OKLCHoklch(37.1% 0.081 120.8)
XYZxyz(3.9956, 5.3040, 1.1298)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A460B #170B46
analogous
#46340B #3A460B #1C460B
triadic
#3A460B #0B3A46 #460B3A
tetradic
#3A460B #0B4634 #170B46 #460B1C
square
#3A460B #0B4634 #170B46 #460B1C
split-complementary
#3A460B #0B1C46 #340B46
monochromatic
#161A04 #161A04 #3A460B #667B13 #92B01C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A460B#FFFFFF#000000##FFFFFF
##3A460B1.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)
#4B4101
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#3E423B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a460b;
/* rgb */ color: rgb(58, 70, 11);
/* oklch */ color: oklch(37.1% 0.081 120.8);
Tailwind
colors: {
  custom: {
    50: '#72794f',
    500: '#3a460b',
    950: '#000000',
  },
}
SCSS
$custom: #3a460b;
$custom-light: #72794f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a460b",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 72.203,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37095,
    "c": 0.08099,
    "h": 120.8
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#3A460B
secondary
#3C2A82
accent
#38F05E
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A460B

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

Preview Lab → · Contrast checker → · Palette generator →

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