#34560B#34560B

#34560B is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.2% C 0.107 H 131.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#34560B
RGBrgb(52, 86, 11)
HSLhsl(87, 77%, 19%)
HSVhsv(87, 87%, 34%)
CMYKcmyk(39.5%, 0%, 87.2%, 66.3%)
CIE-LABlab(32.72, -25.14, 36.13)
CIE-LCHlch(32.72, 44.01, 124.83°)
OKLaboklab(41.16% -0.0713 0.0795)
OKLCHoklch(41.16% 0.107 131.9)
XYZxyz(4.8043, 7.4096, 1.4936)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34560B #2D0B56
analogous
#56530B #34560B #0F560B
triadic
#34560B #0B3456 #560B34
tetradic
#34560B #0B5653 #2D0B56 #560B0F
square
#34560B #0B5653 #2D0B56 #560B0F
split-complementary
#34560B #0B0F56 #530B56
monochromatic
#101B03 #132004 #34560B #558C12 #76C319

Accessibility & contrast

On white

8.46
#34560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#34560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34560B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34560B#FFFFFF#000000##FFFFFF
##34560B1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#355248
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #34560b;
/* rgb */ color: rgb(52, 86, 11);
/* oklch */ color: oklch(41.2% 0.107 131.9);
Tailwind
colors: {
  custom: {
    50: '#6f8652',
    500: '#34560b',
    950: '#000000',
  },
}
SCSS
$custom: #34560b;
$custom-light: #6f8652;
$custom-dark: #000000;
JSON
{
  "hex": "#34560b",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 87.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4116,
    "c": 0.10675,
    "h": 131.9
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#34560B
secondary
#5A2B91
accent
#34F48B
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#080B02
muted
#7B7C78

Preview Lab

Preview with #34560B

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

Preview Lab → · Contrast checker → · Palette generator →

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