#345414#345414

#345414 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.098 H 132.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#345414
RGBrgb(52, 84, 20)
HSLhsl(90, 62%, 20%)
HSVhsv(90, 76%, 33%)
CMYKcmyk(38.1%, 0%, 76.2%, 67.1%)
CIE-LABlab(32.08, -23.56, 32.06)
CIE-LCHlch(32.08, 39.79, 126.30°)
OKLaboklab(40.66% -0.0663 0.0725)
OKLCHoklch(40.66% 0.098 132.4)
XYZxyz(4.7127, 7.1210, 1.7879)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345414 #341454
analogous
#545414 #345414 #145414
triadic
#345414 #143454 #541434
tetradic
#345414 #145454 #341454 #541414
square
#345414 #145454 #341454 #541414
split-complementary
#345414 #141454 #541454
monochromatic
#0F1906 #152308 #345414 #538520 #71B72C

Accessibility & contrast

On white

8.66
#345414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#345414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345414
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345414#FFFFFF#000000##FFFFFF
##3454141.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0A
Deuteranopia (green-blind)
#534B1A
Tritanopia (blue-blind)
#355047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #345414;
/* rgb */ color: rgb(52, 84, 20);
/* oklch */ color: oklch(40.7% 0.098 132.4);
Tailwind
colors: {
  custom: {
    50: '#6f8456',
    500: '#345414',
    950: '#000000',
  },
}
SCSS
$custom: #345414;
$custom-light: #6f8456;
$custom-dark: #000000;
JSON
{
  "hex": "#345414",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40655,
    "c": 0.09823,
    "h": 132.4
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#345414
secondary
#62388C
accent
#43E594
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345414

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

Preview Lab → · Contrast checker → · Palette generator →

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