#345121#345121

#345121 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.0% C 0.082 H 134.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#345121
RGBrgb(52, 81, 33)
HSLhsl(96, 42%, 22%)
HSVhsv(96, 59%, 32%)
CMYKcmyk(35.8%, 0%, 59.3%, 68.2%)
CIE-LABlab(31.17, -20.68, 24.54)
CIE-LCHlch(31.17, 32.09, 130.12°)
OKLaboklab(39.96% -0.0572 0.0582)
OKLCHoklch(39.96% 0.082 134.5)
XYZxyz(4.6330, 6.7245, 2.4924)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345121 #3E2151
analogous
#4C5121 #345121 #215126
triadic
#345121 #213451 #512134
tetradic
#345121 #214C51 #3E2151 #512621
square
#345121 #214C51 #3E2151 #512621
split-complementary
#345121 #262151 #51214C
monochromatic
#0E1609 #18260F #345121 #507C33 #6CA844

Accessibility & contrast

On white

8.96
#345121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#345121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345121
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345121#FFFFFF#000000##FFFFFF
##3451211.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1C
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#344E46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #345121;
/* rgb */ color: rgb(52, 81, 33);
/* oklch */ color: oklch(40.0% 0.082 134.5);
Tailwind
colors: {
  custom: {
    50: '#6d825e',
    500: '#345121',
    950: '#000000',
  },
}
SCSS
$custom: #345121;
$custom-light: #6d825e;
$custom-dark: #000000;
JSON
{
  "hex": "#345121",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 96.25,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.08162,
    "h": 134.5
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#345121
secondary
#6D4985
accent
#56D2A1
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #345121

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

Preview Lab → · Contrast checker → · Palette generator →

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