#3A470C#3A470C

#3A470C 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.06:1 contrast (WCAG AA passes).

Color values

HEX#3A470C
RGBrgb(58, 71, 12)
HSLhsl(73, 71%, 16%)
HSVhsv(73, 83%, 28%)
CMYKcmyk(18.3%, 0%, 83.1%, 72.2%)
CIE-LABlab(27.93, -14.52, 31.46)
CIE-LCHlch(27.93, 34.65, 114.77°)
OKLaboklab(37.38% -0.0428 0.0697)
OKLCHoklch(37.38% 0.082 121.5)
XYZxyz(4.0646, 5.4326, 1.1822)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A470C #190C47
analogous
#47370C #3A470C #1D470C
triadic
#3A470C #0C3A47 #470C3A
tetradic
#3A470C #0C4737 #190C47 #470C1D
square
#3A470C #0C4737 #190C47 #470C1D
split-complementary
#3A470C #0C1D47 #370C47
monochromatic
#151A04 #151A04 #3A470C #657B15 #90B01E

Accessibility & contrast

On white

10.06
#3A470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A470C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A470C#FFFFFF#000000##FFFFFF
##3A470C1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a470c;
/* rgb */ color: rgb(58, 71, 12);
/* oklch */ color: oklch(37.4% 0.082 121.5);
Tailwind
colors: {
  custom: {
    50: '#727a50',
    500: '#3a470c',
    950: '#000000',
  },
}
SCSS
$custom: #3a470c;
$custom-light: #727a50;
$custom-dark: #000000;
JSON
{
  "hex": "#3a470c",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 73.22,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37379,
    "c": 0.08173,
    "h": 121.5
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#3A470C
secondary
#3F2C83
accent
#3AEE62
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A470C

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

Preview Lab → · Contrast checker → · Palette generator →

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