#34420C#34420C

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

Color values

HEX#34420C
RGBrgb(52, 66, 12)
HSLhsl(76, 69%, 15%)
HSVhsv(76, 82%, 26%)
CMYKcmyk(21.2%, 0%, 81.8%, 74.1%)
CIE-LABlab(25.72, -14.60, 29.16)
CIE-LCHlch(25.72, 32.61, 116.59°)
OKLaboklab(35.47% -0.0426 0.065)
OKLCHoklch(35.47% 0.078 123.2)
XYZxyz(3.4308, 4.6530, 1.0651)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34420C #1A0C42
analogous
#42350C #34420C #19420C
triadic
#34420C #0C3442 #420C34
tetradic
#34420C #0C4235 #1A0C42 #420C19
square
#34420C #0C4235 #1A0C42 #420C19
split-complementary
#34420C #0C1942 #350C42
monochromatic
#141A05 #141A05 #34420C #5D7615 #86AA1F

Accessibility & contrast

On white

10.88
#34420C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34420C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34420C#FFFFFF#000000##FFFFFF
##34420C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D04
Deuteranopia (green-blind)
#453D11
Tritanopia (blue-blind)
#373E38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34420c;
/* rgb */ color: rgb(52, 66, 12);
/* oklch */ color: oklch(35.5% 0.078 123.2);
Tailwind
colors: {
  custom: {
    50: '#6e764f',
    500: '#34420c',
    950: '#000000',
  },
}
SCSS
$custom: #34420c;
$custom-light: #6e764f;
$custom-dark: #000000;
JSON
{
  "hex": "#34420c",
  "rgb": {
    "r": 52,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 75.556,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3547,
    "c": 0.0777,
    "h": 123.2
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#34420C
secondary
#412C7E
accent
#3CEC69
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #34420C

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

Preview Lab → · Contrast checker → · Palette generator →

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