#345015#345015

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

Color values

HEX#345015
RGBrgb(52, 80, 21)
HSLhsl(88, 58%, 20%)
HSVhsv(88, 74%, 31%)
CMYKcmyk(35%, 0%, 73.7%, 68.6%)
CIE-LABlab(30.69, -21.45, 30.17)
CIE-LCHlch(30.69, 37.02, 125.41°)
OKLaboklab(39.53% -0.0604 0.0687)
OKLCHoklch(39.53% 0.092 131.3)
XYZxyz(4.4201, 6.5214, 1.7352)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345015 #311550
analogous
#504F15 #345015 #165015
triadic
#345015 #153450 #501534
tetradic
#345015 #15504F #311550 #501516
square
#345015 #15504F #311550 #501516
split-complementary
#345015 #151650 #4F1550
monochromatic
#101806 #142008 #345015 #548022 #73B12E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345015#FFFFFF#000000##FFFFFF
##3450151.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0D
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#354C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #345015;
/* rgb */ color: rgb(52, 80, 21);
/* oklch */ color: oklch(39.5% 0.091 131.3);
Tailwind
colors: {
  custom: {
    50: '#6e8156',
    500: '#345015',
    950: '#000000',
  },
}
SCSS
$custom: #345015;
$custom-light: #6e8156;
$custom-dark: #000000;
JSON
{
  "hex": "#345015",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 88.475,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39525,
    "c": 0.0915,
    "h": 131.3
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#345015
secondary
#5E3988
accent
#46E290
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345015

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

Preview Lab → · Contrast checker → · Palette generator →

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