#345011#345011

#345011 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.095 H 130.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#345011
RGBrgb(52, 80, 17)
HSLhsl(87, 65%, 19%)
HSVhsv(87, 79%, 31%)
CMYKcmyk(35%, 0%, 78.8%, 68.6%)
CIE-LABlab(30.66, -21.77, 31.92)
CIE-LCHlch(30.66, 38.64, 124.30°)
OKLaboklab(39.49% -0.0617 0.0717)
OKLCHoklch(39.49% 0.095 130.7)
XYZxyz(4.3860, 6.5077, 1.5552)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345011 #2D1150
analogous
#504D11 #345011 #155011
triadic
#345011 #113450 #501134
tetradic
#345011 #11504D #2D1150 #501115
square
#345011 #11504D #2D1150 #501115
split-complementary
#345011 #111550 #4D1150
monochromatic
#101905 #131E06 #345011 #55821C #76B526

Accessibility & contrast

On white

9.12
#345011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#345011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345011
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345011#FFFFFF#000000##FFFFFF
##3450111.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A06
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#354C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #345011;
/* rgb */ color: rgb(52, 80, 17);
/* oklch */ color: oklch(39.5% 0.095 130.7);
Tailwind
colors: {
  custom: {
    50: '#6e8154',
    500: '#345011',
    950: '#000000',
  },
}
SCSS
$custom: #345011;
$custom-light: #6e8154;
$custom-dark: #000000;
JSON
{
  "hex": "#345011",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 86.667,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39488,
    "c": 0.09459,
    "h": 130.7
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#345011
secondary
#5A3389
accent
#40E88B
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345011

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

Preview Lab → · Contrast checker → · Palette generator →

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