#345211#345211

#345211 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.1% C 0.098 H 131.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#345211
RGBrgb(52, 82, 17)
HSLhsl(88, 66%, 19%)
HSVhsv(88, 79%, 32%)
CMYKcmyk(36.6%, 0%, 79.3%, 67.8%)
CIE-LABlab(31.36, -22.79, 32.62)
CIE-LCHlch(31.36, 39.79, 124.94°)
OKLaboklab(40.06% -0.0644 0.0732)
OKLCHoklch(40.06% 0.098 131.4)
XYZxyz(4.5346, 6.8050, 1.6048)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345211 #2F1152
analogous
#525011 #345211 #145211
triadic
#345211 #113452 #521134
tetradic
#345211 #115250 #2F1152 #521114
square
#345211 #115250 #2F1152 #521114
split-complementary
#345211 #111452 #501152
monochromatic
#101905 #141F06 #345211 #54851C #74B726

Accessibility & contrast

On white

8.89
#345211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#345211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345211
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345211#FFFFFF#000000##FFFFFF
##3452111.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B06
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#354E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #345211;
/* rgb */ color: rgb(52, 82, 17);
/* oklch */ color: oklch(40.1% 0.098 131.4);
Tailwind
colors: {
  custom: {
    50: '#6e8354',
    500: '#345211',
    950: '#000000',
  },
}
SCSS
$custom: #345211;
$custom-light: #6e8354;
$custom-dark: #000000;
JSON
{
  "hex": "#345211",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 87.692,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40059,
    "c": 0.0975,
    "h": 131.4
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#345211
secondary
#5C348B
accent
#3FE98D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345211

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

Preview Lab → · Contrast checker → · Palette generator →

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