#346512#346512

#346512 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.5% C 0.123 H 135.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#346512
RGBrgb(52, 101, 18)
HSLhsl(95, 70%, 23%)
HSVhsv(95, 82%, 40%)
CMYKcmyk(48.5%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.99, -31.66, 38.67)
CIE-LCHlch(37.99, 49.98, 129.30°)
OKLaboklab(45.49% -0.0883 0.086)
OKLCHoklch(45.49% 0.123 135.8)
XYZxyz(6.1789, 10.0807, 2.1923)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346512 #431265
analogous
#5D6512 #346512 #12651A
triadic
#346512 #123465 #651234
tetradic
#346512 #125D65 #431265 #651A12
square
#346512 #125D65 #431265 #651A12
split-complementary
#346512 #1A1265 #65125D
monochromatic
#0D1A05 #193109 #346512 #4F991B #69CD25

Accessibility & contrast

On white

6.96
#346512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#346512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #346512
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346512#FFFFFF#000000##FFFFFF
##3465121.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#326156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #346512;
/* rgb */ color: rgb(52, 101, 18);
/* oklch */ color: oklch(45.5% 0.123 135.8);
Tailwind
colors: {
  custom: {
    50: '#719157',
    500: '#346512',
    950: '#000000',
  },
}
SCSS
$custom: #346512;
$custom-light: #719157;
$custom-dark: #000000;
JSON
{
  "hex": "#346512",
  "rgb": {
    "r": 52,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 95.422,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.12328,
    "h": 135.8
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#346512
secondary
#73369D
accent
#3BEDA4
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #346512

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

Preview Lab → · Contrast checker → · Palette generator →

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