#345A10#345A10

#345A10 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.109 H 133.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#345A10
RGBrgb(52, 90, 16)
HSLhsl(91, 70%, 21%)
HSVhsv(91, 82%, 35%)
CMYKcmyk(42.2%, 0%, 82.2%, 64.7%)
CIE-LABlab(34.15, -26.76, 35.73)
CIE-LCHlch(34.15, 44.64, 126.83°)
OKLaboklab(42.34% -0.0753 0.0795)
OKLCHoklch(42.34% 0.109 133.4)
XYZxyz(5.1658, 8.0796, 1.7774)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A10 #36105A
analogous
#595A10 #345A10 #105A11
triadic
#345A10 #10345A #5A1034
tetradic
#345A10 #10595A #36105A #5A1110
square
#345A10 #10595A #36105A #5A1110
split-complementary
#345A10 #11105A #5A1059
monochromatic
#0F1A05 #162607 #345A10 #528E19 #70C222

Accessibility & contrast

On white

8.03
#345A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#345A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345A10
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A10#FFFFFF#000000##FFFFFF
##345A101.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5201
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#34564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345a10;
/* rgb */ color: rgb(52, 90, 16);
/* oklch */ color: oklch(42.3% 0.109 133.4);
Tailwind
colors: {
  custom: {
    50: '#6f8955',
    500: '#345a10',
    950: '#000000',
  },
}
SCSS
$custom: #345a10;
$custom-light: #6f8955;
$custom-dark: #000000;
JSON
{
  "hex": "#345a10",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 90.811,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.10949,
    "h": 133.4
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#345A10
secondary
#643393
accent
#3BED96
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345A10

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

Preview Lab → · Contrast checker → · Palette generator →

#345A10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva