#3A470B#3A470B

#3A470B is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.4% C 0.082 H 121.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3A470B
RGBrgb(58, 71, 11)
HSLhsl(73, 73%, 16%)
HSVhsv(73, 85%, 28%)
CMYKcmyk(18.3%, 0%, 84.5%, 72.2%)
CIE-LABlab(27.93, -14.58, 31.84)
CIE-LCHlch(27.93, 35.02, 114.60°)
OKLaboklab(37.37% -0.043 0.0703)
OKLCHoklch(37.37% 0.082 121.5)
XYZxyz(4.0586, 5.4302, 1.1509)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A470B #180B47
analogous
#47360B #3A470B #1C470B
triadic
#3A470B #0B3A47 #470B3A
tetradic
#3A470B #0B4736 #180B47 #470B1C
square
#3A470B #0B4736 #180B47 #470B1C
split-complementary
#3A470B #0B1C47 #360B47
monochromatic
#161A04 #161A04 #3A470B #657C13 #91B11B

Accessibility & contrast

On white

10.07
#3A470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A470B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A470B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A470B#FFFFFF#000000##FFFFFF
##3A470B1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4201
Deuteranopia (green-blind)
#4A4211
Tritanopia (blue-blind)
#3E433C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a470b;
/* rgb */ color: rgb(58, 71, 11);
/* oklch */ color: oklch(37.4% 0.082 121.5);
Tailwind
colors: {
  custom: {
    50: '#727a4f',
    500: '#3a470b',
    950: '#000000',
  },
}
SCSS
$custom: #3a470b;
$custom-light: #727a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a470b",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 73,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.37371,
    "c": 0.08238,
    "h": 121.5
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#3A470B
secondary
#3E2A83
accent
#38F060
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A470B

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

Preview Lab → · Contrast checker → · Palette generator →

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