#34420F#34420F

#34420F is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.5% C 0.075 H 123.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#34420F
RGBrgb(52, 66, 15)
HSLhsl(76, 63%, 16%)
HSVhsv(76, 77%, 26%)
CMYKcmyk(21.2%, 0%, 77.3%, 74.1%)
CIE-LABlab(25.75, -14.38, 27.85)
CIE-LCHlch(25.75, 31.34, 117.31°)
OKLaboklab(35.5% -0.0416 0.0628)
OKLCHoklch(35.5% 0.075 123.6)
XYZxyz(3.4506, 4.6610, 1.1697)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34420F #1D0F42
analogous
#42360F #34420F #1A420F
triadic
#34420F #0F3442 #420F34
tetradic
#34420F #0F4236 #1D0F42 #420F1A
square
#34420F #0F4236 #1D0F42 #420F1A
split-complementary
#34420F #0F1A42 #360F42
monochromatic
#141906 #141906 #34420F #5B741A #83A626

Accessibility & contrast

On white

10.87
#34420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#34420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34420F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34420F#FFFFFF#000000##FFFFFF
##34420F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D07
Deuteranopia (green-blind)
#443D13
Tritanopia (blue-blind)
#373E38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34420f;
/* rgb */ color: rgb(52, 66, 15);
/* oklch */ color: oklch(35.5% 0.075 123.6);
Tailwind
colors: {
  custom: {
    50: '#6d7651',
    500: '#34420f',
    950: '#000000',
  },
}
SCSS
$custom: #34420f;
$custom-light: #6d7651;
$custom-dark: #000000;
JSON
{
  "hex": "#34420f",
  "rgb": {
    "r": 52,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 76.471,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.07536,
    "h": 123.6
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

primary
#34420F
secondary
#45307C
accent
#42E66F
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #34420F

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

Preview Lab → · Contrast checker → · Palette generator →

#34420F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva