#34550C#34550C

#34550C is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.105 H 131.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#34550C
RGBrgb(52, 85, 12)
HSLhsl(87, 75%, 19%)
HSVhsv(87, 86%, 33%)
CMYKcmyk(38.8%, 0%, 85.9%, 66.7%)
CIE-LABlab(32.38, -24.60, 35.48)
CIE-LCHlch(32.38, 43.17, 124.73°)
OKLaboklab(40.88% -0.0698 0.0783)
OKLCHoklch(40.88% 0.105 131.7)
XYZxyz(4.7310, 7.2534, 1.4985)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34550C #2D0C55
analogous
#55520C #34550C #10550C
triadic
#34550C #0C3455 #550C34
tetradic
#34550C #0C5552 #2D0C55 #550C10
square
#34550C #0C5552 #2D0C55 #550C10
split-complementary
#34550C #0C1055 #520C55
monochromatic
#101B04 #131F04 #34550C #558B14 #76C01B

Accessibility & contrast

On white

8.57
#34550C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#34550C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34550C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34550C#FFFFFF#000000##FFFFFF
##34550C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#355148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #34550c;
/* rgb */ color: rgb(52, 85, 12);
/* oklch */ color: oklch(40.9% 0.105 131.7);
Tailwind
colors: {
  custom: {
    50: '#6f8552',
    500: '#34550c',
    950: '#000000',
  },
}
SCSS
$custom: #34550c;
$custom-light: #6f8552;
$custom-dark: #000000;
JSON
{
  "hex": "#34550c",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 87.123,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4088,
    "c": 0.10485,
    "h": 131.7
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#34550C
secondary
#5A2D90
accent
#36F28B
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#080B02
muted
#7B7C78

Preview Lab

Preview with #34550C

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

Preview Lab → · Contrast checker → · Palette generator →

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