#345A0F#345A0F

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

Color values

HEX#345A0F
RGBrgb(52, 90, 15)
HSLhsl(90, 71%, 21%)
HSVhsv(90, 83%, 35%)
CMYKcmyk(42.2%, 0%, 83.3%, 64.7%)
CIE-LABlab(34.14, -26.82, 36.08)
CIE-LCHlch(34.14, 44.96, 126.62°)
OKLaboklab(42.33% -0.0755 0.0801)
OKLCHoklch(42.33% 0.11 133.3)
XYZxyz(5.1585, 8.0766, 1.7390)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A0F #350F5A
analogous
#595A0F #345A0F #0F5A0F
triadic
#345A0F #0F345A #5A0F34
tetradic
#345A0F #0F595A #350F5A #5A0F0F
square
#345A0F #0F595A #350F5A #5A0F0F
split-complementary
#345A0F #0F0F5A #5A0F59
monochromatic
#0F1A04 #162606 #345A0F #528E18 #71C320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345A0F#FFFFFF#000000##FFFFFF
##345A0F1.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)
#5E5200
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#34564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345a0f;
/* rgb */ color: rgb(52, 90, 15);
/* oklch */ color: oklch(42.3% 0.110 133.3);
Tailwind
colors: {
  custom: {
    50: '#708954',
    500: '#345a0f',
    950: '#000000',
  },
}
SCSS
$custom: #345a0f;
$custom-light: #708954;
$custom-dark: #000000;
JSON
{
  "hex": "#345a0f",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 90.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.11008,
    "h": 133.3
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#345A0F
secondary
#633194
accent
#3AEE95
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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