#345912#345912

#345912 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.107 H 133.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#345912
RGBrgb(52, 89, 18)
HSLhsl(91, 66%, 21%)
HSVhsv(91, 80%, 35%)
CMYKcmyk(41.6%, 0%, 79.8%, 65.1%)
CIE-LABlab(33.81, -26.15, 34.63)
CIE-LCHlch(33.81, 43.40, 127.05°)
OKLaboklab(42.06% -0.0735 0.0775)
OKLCHoklch(42.06% 0.107 133.5)
XYZxyz(5.0977, 7.9183, 1.8319)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345912 #371259
analogous
#575912 #345912 #125914
triadic
#345912 #123459 #591234
tetradic
#345912 #125759 #371259 #591412
square
#345912 #125759 #371259 #591412
split-complementary
#345912 #141259 #591257
monochromatic
#0F1905 #162608 #345912 #528C1C #6FBF27

Accessibility & contrast

On white

8.13
#345912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#345912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345912
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345912#FFFFFF#000000##FFFFFF
##3459121.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#34554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #345912;
/* rgb */ color: rgb(52, 89, 18);
/* oklch */ color: oklch(42.1% 0.107 133.5);
Tailwind
colors: {
  custom: {
    50: '#6f8856',
    500: '#345912',
    950: '#000000',
  },
}
SCSS
$custom: #345912;
$custom-light: #6f8856;
$custom-dark: #000000;
JSON
{
  "hex": "#345912",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 91.268,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.10683,
    "h": 133.5
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#345912
secondary
#653592
accent
#3FE998
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345912

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

Preview Lab → · Contrast checker → · Palette generator →

#345912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva