#345811#345811

#345811 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.8% C 0.106 H 133.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#345811
RGBrgb(52, 88, 17)
HSLhsl(90, 68%, 21%)
HSVhsv(90, 81%, 35%)
CMYKcmyk(40.9%, 0%, 80.7%, 65.5%)
CIE-LABlab(33.46, -25.74, 34.68)
CIE-LCHlch(33.46, 43.19, 126.58°)
OKLaboklab(41.77% -0.0724 0.0775)
OKLCHoklch(41.77% 0.106 133.1)
XYZxyz(5.0070, 7.7498, 1.7622)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345811 #351158
analogous
#575811 #345811 #115812
triadic
#345811 #113458 #581134
tetradic
#345811 #115758 #351158 #581211
square
#345811 #115758 #351158 #581211
split-complementary
#345811 #121158 #581157
monochromatic
#0F1A05 #162507 #345811 #528B1B #71BF25

Accessibility & contrast

On white

8.24
#345811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345811
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345811#FFFFFF#000000##FFFFFF
##3458111.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5004
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#34544A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #345811;
/* rgb */ color: rgb(52, 88, 17);
/* oklch */ color: oklch(41.8% 0.106 133.1);
Tailwind
colors: {
  custom: {
    50: '#6f8755',
    500: '#345811',
    950: '#000000',
  },
}
SCSS
$custom: #345811;
$custom-light: #6f8755;
$custom-dark: #000000;
JSON
{
  "hex": "#345811",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 90.423,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.10607,
    "h": 133.1
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#345811
secondary
#633491
accent
#3DEA95
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345811

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

Preview Lab → · Contrast checker → · Palette generator →

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