#34470B#34470B

#34470B is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.086 H 126.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#34470B
RGBrgb(52, 71, 11)
HSLhsl(79, 73%, 16%)
HSVhsv(79, 85%, 28%)
CMYKcmyk(26.8%, 0%, 84.5%, 72.2%)
CIE-LABlab(27.46, -17.44, 31.24)
CIE-LCHlch(27.46, 35.78, 119.17°)
OKLaboklab(36.88% -0.0504 0.0692)
OKLCHoklch(36.88% 0.086 126.1)
XYZxyz(3.7298, 5.2606, 1.1354)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34470B #1E0B47
analogous
#473C0B #34470B #16470B
triadic
#34470B #0B3447 #470B34
tetradic
#34470B #0B473C #1E0B47 #470B16
square
#34470B #0B473C #1E0B47 #470B16
split-complementary
#34470B #0B1647 #3C0B47
monochromatic
#131A04 #131A04 #34470B #5B7C13 #82B11B

Accessibility & contrast

On white

10.23
#34470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#34470B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34470B
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34470B#FFFFFF#000000##FFFFFF
##34470B1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4201
Deuteranopia (green-blind)
#494111
Tritanopia (blue-blind)
#37433C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #34470b;
/* rgb */ color: rgb(52, 71, 11);
/* oklch */ color: oklch(36.9% 0.086 126.1);
Tailwind
colors: {
  custom: {
    50: '#6e7a4f',
    500: '#34470b',
    950: '#000000',
  },
}
SCSS
$custom: #34470b;
$custom-light: #6e7a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#34470b",
  "rgb": {
    "r": 52,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 79,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36879,
    "c": 0.08562,
    "h": 126.1
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#34470B
secondary
#472A83
accent
#38F072
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #34470B

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

Preview Lab → · Contrast checker → · Palette generator →

#34470B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva