#345018#345018

#345018 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.6% C 0.089 H 131.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#345018
RGBrgb(52, 80, 24)
HSLhsl(90, 54%, 20%)
HSVhsv(90, 70%, 31%)
CMYKcmyk(35%, 0%, 70%, 68.6%)
CIE-LABlab(30.72, -21.17, 28.76)
CIE-LCHlch(30.72, 35.72, 126.36°)
OKLaboklab(39.56% -0.0594 0.0662)
OKLCHoklch(39.56% 0.089 131.9)
XYZxyz(4.4496, 6.5332, 1.8906)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345018 #341850
analogous
#505018 #345018 #185018
triadic
#345018 #183450 #501834
tetradic
#345018 #185050 #341850 #501818
square
#345018 #185050 #341850 #501818
split-complementary
#345018 #181850 #501850
monochromatic
#0F1807 #15210A #345018 #537F26 #71AE34

Accessibility & contrast

On white

9.10
#345018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345018
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345018#FFFFFF#000000##FFFFFF
##3450181.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345018;
/* rgb */ color: rgb(52, 80, 24);
/* oklch */ color: oklch(39.6% 0.089 131.9);
Tailwind
colors: {
  custom: {
    50: '#6e8158',
    500: '#345018',
    950: '#000000',
  },
}
SCSS
$custom: #345018;
$custom-light: #6e8158;
$custom-dark: #000000;
JSON
{
  "hex": "#345018",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.08891,
    "h": 131.9
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#345018
secondary
#623D87
accent
#4BDD94
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345018

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

Preview Lab → · Contrast checker → · Palette generator →

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