#345813#345813

#345813 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.105 H 133.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#345813
RGBrgb(52, 88, 19)
HSLhsl(91, 64%, 21%)
HSVhsv(91, 78%, 35%)
CMYKcmyk(40.9%, 0%, 78.4%, 65.5%)
CIE-LABlab(33.47, -25.59, 33.89)
CIE-LCHlch(33.47, 42.47, 127.06°)
OKLaboklab(41.79% -0.0719 0.0762)
OKLCHoklch(41.79% 0.105 133.4)
XYZxyz(5.0234, 7.7563, 1.8484)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345813 #371358
analogous
#565813 #345813 #135814
triadic
#345813 #133458 #581334
tetradic
#345813 #135658 #371358 #581413
square
#345813 #135658 #371358 #581413
split-complementary
#345813 #141358 #581356
monochromatic
#0F1905 #162608 #345813 #528A1E #6FBD29

Accessibility & contrast

On white

8.23
#345813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#345813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345813
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345813#FFFFFF#000000##FFFFFF
##3458131.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5107
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#34544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #345813;
/* rgb */ color: rgb(52, 88, 19);
/* oklch */ color: oklch(41.8% 0.105 133.4);
Tailwind
colors: {
  custom: {
    50: '#6f8756',
    500: '#345813',
    950: '#000000',
  },
}
SCSS
$custom: #345813;
$custom-light: #6f8756;
$custom-dark: #000000;
JSON
{
  "hex": "#345813",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 91.304,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41787,
    "c": 0.10474,
    "h": 133.4
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#345813
secondary
#653790
accent
#40E798
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345813

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

Preview Lab → · Contrast checker → · Palette generator →

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