#345017#345017

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

Color values

HEX#345017
RGBrgb(52, 80, 23)
HSLhsl(89, 55%, 20%)
HSVhsv(89, 71%, 31%)
CMYKcmyk(35%, 0%, 71.2%, 68.6%)
CIE-LABlab(30.71, -21.27, 29.24)
CIE-LCHlch(30.71, 36.16, 126.03°)
OKLaboklab(39.55% -0.0598 0.067)
OKLCHoklch(39.55% 0.09 131.7)
XYZxyz(4.4394, 6.5291, 1.8368)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345017 #331750
analogous
#505017 #345017 #175017
triadic
#345017 #173450 #501734
tetradic
#345017 #175050 #331750 #501717
square
#345017 #175050 #331750 #501717
split-complementary
#345017 #171750 #501750
monochromatic
#0F1807 #152009 #345017 #538025 #72AF32

Accessibility & contrast

On white

9.11
#345017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#345017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345017
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345017#FFFFFF#000000##FFFFFF
##3450171.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A10
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#354D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #345017;
/* rgb */ color: rgb(52, 80, 23);
/* oklch */ color: oklch(39.5% 0.090 131.7);
Tailwind
colors: {
  custom: {
    50: '#6e8157',
    500: '#345017',
    950: '#000000',
  },
}
SCSS
$custom: #345017;
$custom-light: #6e8157;
$custom-dark: #000000;
JSON
{
  "hex": "#345017",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 89.474,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.0898,
    "h": 131.7
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#345017
secondary
#613C87
accent
#49DF93
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345017

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

Preview Lab → · Contrast checker → · Palette generator →

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