#345213#345213

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

Color values

HEX#345213
RGBrgb(52, 82, 19)
HSLhsl(89, 62%, 20%)
HSVhsv(89, 77%, 32%)
CMYKcmyk(36.6%, 0%, 76.8%, 67.8%)
CIE-LABlab(31.37, -22.64, 31.78)
CIE-LCHlch(31.37, 39.02, 125.46°)
OKLaboklab(40.08% -0.0639 0.0717)
OKLCHoklch(40.08% 0.096 131.7)
XYZxyz(4.5510, 6.8115, 1.6909)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345213 #311352
analogous
#525013 #345213 #155213
triadic
#345213 #133452 #521334
tetradic
#345213 #135250 #311352 #521315
square
#345213 #135250 #311352 #521315
split-complementary
#345213 #131552 #501352
monochromatic
#101906 #142007 #345213 #54841F #73B52A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #345213;
/* rgb */ color: rgb(52, 82, 19);
/* oklch */ color: oklch(40.1% 0.096 131.7);
Tailwind
colors: {
  custom: {
    50: '#6e8355',
    500: '#345213',
    950: '#000000',
  },
}
SCSS
$custom: #345213;
$custom-light: #6e8355;
$custom-dark: #000000;
JSON
{
  "hex": "#345213",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 88.571,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.09605,
    "h": 131.7
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#345213
secondary
#5E368A
accent
#42E590
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345213

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

Preview Lab → · Contrast checker → · Palette generator →

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