#345210#345210

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

Color values

HEX#345210
RGBrgb(52, 82, 16)
HSLhsl(87, 67%, 19%)
HSVhsv(87, 80%, 32%)
CMYKcmyk(36.6%, 0%, 80.5%, 67.8%)
CIE-LABlab(31.35, -22.86, 33.02)
CIE-LCHlch(31.35, 40.16, 124.70°)
OKLaboklab(40.05% -0.0647 0.0738)
OKLCHoklch(40.05% 0.098 131.2)
XYZxyz(4.5270, 6.8019, 1.5645)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345210 #2E1052
analogous
#524F10 #345210 #135210
triadic
#345210 #103452 #521034
tetradic
#345210 #10524F #2E1052 #521013
square
#345210 #10524F #2E1052 #521013
split-complementary
#345210 #101352 #4F1052
monochromatic
#101A05 #141F06 #345210 #54851A #75B824

Accessibility & contrast

On white

8.90
#345210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345210
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345210#FFFFFF#000000##FFFFFF
##3452101.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345210;
/* rgb */ color: rgb(52, 82, 16);
/* oklch */ color: oklch(40.1% 0.098 131.2);
Tailwind
colors: {
  custom: {
    50: '#6f8354',
    500: '#345210',
    950: '#000000',
  },
}
SCSS
$custom: #345210;
$custom-light: #6f8354;
$custom-dark: #000000;
JSON
{
  "hex": "#345210",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 87.273,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40051,
    "c": 0.09818,
    "h": 131.2
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#345210
secondary
#5B328C
accent
#3EEA8C
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345210

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

Preview Lab → · Contrast checker → · Palette generator →

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