#345412#345412

#345412 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.100 H 132.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#345412
RGBrgb(52, 84, 18)
HSLhsl(89, 65%, 20%)
HSVhsv(89, 79%, 33%)
CMYKcmyk(38.1%, 0%, 78.6%, 67.1%)
CIE-LABlab(32.07, -23.71, 32.90)
CIE-LCHlch(32.07, 40.56, 125.78°)
OKLaboklab(40.64% -0.0669 0.0739)
OKLCHoklch(40.64% 0.1 132.1)
XYZxyz(4.6956, 7.1142, 1.6979)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345412 #321254
analogous
#545312 #345412 #135412
triadic
#345412 #123454 #541234
tetradic
#345412 #125453 #321254 #541213
square
#345412 #125453 #321254 #541213
split-complementary
#345412 #121354 #531254
monochromatic
#101905 #152207 #345412 #53861D #72B928

Accessibility & contrast

On white

8.67
#345412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345412
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345412#FFFFFF#000000##FFFFFF
##3454121.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345412;
/* rgb */ color: rgb(52, 84, 18);
/* oklch */ color: oklch(40.6% 0.100 132.1);
Tailwind
colors: {
  custom: {
    50: '#6f8455',
    500: '#345412',
    950: '#000000',
  },
}
SCSS
$custom: #345412;
$custom-light: #6f8455;
$custom-dark: #000000;
JSON
{
  "hex": "#345412",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 89.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.09969,
    "h": 132.1
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#345412
secondary
#60358D
accent
#40E891
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345412

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

Preview Lab → · Contrast checker → · Palette generator →

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