#3A470F#3A470F

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

Color values

HEX#3A470F
RGBrgb(58, 71, 15)
HSLhsl(74, 65%, 17%)
HSVhsv(74, 79%, 28%)
CMYKcmyk(18.3%, 0%, 78.9%, 72.2%)
CIE-LABlab(27.95, -14.33, 30.23)
CIE-LCHlch(27.95, 33.45, 115.36°)
OKLaboklab(37.4% -0.0419 0.0676)
OKLCHoklch(37.4% 0.08 121.8)
XYZxyz(4.0844, 5.4405, 1.2868)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A470F #1C0F47
analogous
#47380F #3A470F #1E470F
triadic
#3A470F #0F3A47 #470F3A
tetradic
#3A470F #0F4738 #1C0F47 #470F1E
square
#3A470F #0F4738 #1C0F47 #470F1E
split-complementary
#3A470F #0F1E47 #380F47
monochromatic
#151905 #151905 #3A470F #637A1A #8DAC24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A470F#FFFFFF#000000##FFFFFF
##3A470F1.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)
#4C4206
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#3E433C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a470f;
/* rgb */ color: rgb(58, 71, 15);
/* oklch */ color: oklch(37.4% 0.080 121.8);
Tailwind
colors: {
  custom: {
    50: '#727a52',
    500: '#3a470f',
    950: '#000000',
  },
}
SCSS
$custom: #3a470f;
$custom-light: #727a52;
$custom-dark: #000000;
JSON
{
  "hex": "#3a470f",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 73.929,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37403,
    "c": 0.07958,
    "h": 121.8
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#3A470F
secondary
#433081
accent
#40E867
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A470F

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

Preview Lab → · Contrast checker → · Palette generator →

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