#345F0F#345F0F

#345F0F is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.8% C 0.117 H 134.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#345F0F
RGBrgb(52, 95, 15)
HSLhsl(92, 73%, 22%)
HSVhsv(92, 84%, 37%)
CMYKcmyk(45.3%, 0%, 84.2%, 62.7%)
CIE-LABlab(35.89, -29.15, 37.73)
CIE-LCHlch(35.89, 47.67, 127.69°)
OKLaboklab(43.76% -0.0818 0.0835)
OKLCHoklch(43.76% 0.117 134.4)
XYZxyz(5.5945, 8.9487, 1.8843)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F0F #3A0F5F
analogous
#5C5F0F #345F0F #0F5F12
triadic
#345F0F #0F345F #5F0F34
tetradic
#345F0F #0F5C5F #3A0F5F #5F120F
square
#345F0F #0F5C5F #3A0F5F #5F120F
split-complementary
#345F0F #120F5F #5F0F5C
monochromatic
#0E1A04 #172A07 #345F0F #519417 #6EC920

Accessibility & contrast

On white

7.53
#345F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#345F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345F0F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345F0F#FFFFFF#000000##FFFFFF
##345F0F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#335B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345f0f;
/* rgb */ color: rgb(52, 95, 15);
/* oklch */ color: oklch(43.8% 0.117 134.4);
Tailwind
colors: {
  custom: {
    50: '#708d55',
    500: '#345f0f',
    950: '#000000',
  },
}
SCSS
$custom: #345f0f;
$custom-light: #708d55;
$custom-dark: #000000;
JSON
{
  "hex": "#345f0f",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 92.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.11689,
    "h": 134.4
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#345F0F
secondary
#693298
accent
#38EF9B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #345F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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