#345321#345321

#345321 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.085 H 135.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#345321
RGBrgb(52, 83, 33)
HSLhsl(97, 43%, 23%)
HSVhsv(97, 60%, 33%)
CMYKcmyk(37.3%, 0%, 60.2%, 67.5%)
CIE-LABlab(31.87, -21.71, 25.36)
CIE-LCHlch(31.87, 33.39, 130.57°)
OKLaboklab(40.52% -0.0601 0.06)
OKLCHoklch(40.52% 0.085 135.1)
XYZxyz(4.7838, 7.0262, 2.5427)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345321 #402153
analogous
#4D5321 #345321 #215327
triadic
#345321 #213453 #532134
tetradic
#345321 #214D53 #402153 #532721
square
#345321 #214D53 #402153 #532721
split-complementary
#345321 #272153 #53214D
monochromatic
#0E1609 #192710 #345321 #4F7F32 #6BAB44

Accessibility & contrast

On white

8.73
#345321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#345321 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345321
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345321#FFFFFF#000000##FFFFFF
##3453211.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1C
Deuteranopia (green-blind)
#524A24
Tritanopia (blue-blind)
#345048
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #345321;
/* rgb */ color: rgb(52, 83, 33);
/* oklch */ color: oklch(40.5% 0.085 135.1);
Tailwind
colors: {
  custom: {
    50: '#6e835e',
    500: '#345321',
    950: '#000000',
  },
}
SCSS
$custom: #345321;
$custom-light: #6e835e;
$custom-dark: #000000;
JSON
{
  "hex": "#345321",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 33
  },
  "hsl": {
    "h": 97.2,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40523,
    "c": 0.08488,
    "h": 135.1
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#345321
secondary
#6F4987
accent
#55D3A3
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #345321

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

Preview Lab → · Contrast checker → · Palette generator →

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