#345214#345214

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

Color values

HEX#345214
RGBrgb(52, 82, 20)
HSLhsl(89, 61%, 20%)
HSVhsv(89, 76%, 32%)
CMYKcmyk(36.6%, 0%, 75.6%, 67.8%)
CIE-LABlab(31.38, -22.55, 31.35)
CIE-LCHlch(31.38, 38.62, 125.74°)
OKLaboklab(40.09% -0.0635 0.071)
OKLCHoklch(40.09% 0.095 131.8)
XYZxyz(4.5597, 6.8150, 1.7369)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345214 #321452
analogous
#525114 #345214 #155214
triadic
#345214 #143452 #521434
tetradic
#345214 #145251 #321452 #521415
square
#345214 #145251 #321452 #521415
split-complementary
#345214 #141552 #511452
monochromatic
#101906 #152108 #345214 #538320 #72B42C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345214#FFFFFF#000000##FFFFFF
##3452141.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)
#564B0A
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#354E46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #345214;
/* rgb */ color: rgb(52, 82, 20);
/* oklch */ color: oklch(40.1% 0.095 131.8);
Tailwind
colors: {
  custom: {
    50: '#6e8356',
    500: '#345214',
    950: '#000000',
  },
}
SCSS
$custom: #345214;
$custom-light: #6e8356;
$custom-dark: #000000;
JSON
{
  "hex": "#345214",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 89.032,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.09529,
    "h": 131.8
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#345214
secondary
#60388A
accent
#44E491
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345214

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

Preview Lab → · Contrast checker → · Palette generator →

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