#345111#345111

#345111 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.096 H 131.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#345111
RGBrgb(52, 81, 17)
HSLhsl(87, 65%, 19%)
HSVhsv(87, 79%, 32%)
CMYKcmyk(35.8%, 0%, 79%, 68.2%)
CIE-LABlab(31.01, -22.28, 32.27)
CIE-LCHlch(31.01, 39.22, 124.63°)
OKLaboklab(39.77% -0.0631 0.0724)
OKLCHoklch(39.77% 0.096 131.1)
XYZxyz(4.4597, 6.6552, 1.5798)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345111 #2E1151
analogous
#514E11 #345111 #145111
triadic
#345111 #113451 #511134
tetradic
#345111 #11514E #2E1151 #511114
square
#345111 #11514E #2E1151 #511114
split-complementary
#345111 #111451 #4E1151
monochromatic
#101905 #141E06 #345111 #54841C #75B626

Accessibility & contrast

On white

9.01
#345111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#345111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345111
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345111#FFFFFF#000000##FFFFFF
##3451111.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A06
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#354D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #345111;
/* rgb */ color: rgb(52, 81, 17);
/* oklch */ color: oklch(39.8% 0.096 131.1);
Tailwind
colors: {
  custom: {
    50: '#6e8254',
    500: '#345111',
    950: '#000000',
  },
}
SCSS
$custom: #345111;
$custom-light: #6e8254;
$custom-dark: #000000;
JSON
{
  "hex": "#345111",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 87.188,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.09605,
    "h": 131.1
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#345111
secondary
#5B348A
accent
#40E88C
background
#F6F7F5
surface
#ECEEE8
border
#C7C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345111

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

Preview Lab → · Contrast checker → · Palette generator →

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