#346312#346312

#346312 is a dark, vivid yellow-green. Relative luminance 0.097; OKLCH L 44.9% C 0.121 H 135.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#346312
RGBrgb(52, 99, 18)
HSLhsl(95, 69%, 23%)
HSVhsv(95, 82%, 39%)
CMYKcmyk(47.5%, 0%, 81.8%, 61.2%)
CIE-LABlab(37.29, -30.77, 38.01)
CIE-LCHlch(37.29, 48.90, 128.99°)
OKLaboklab(44.92% -0.0859 0.0846)
OKLCHoklch(44.92% 0.121 135.5)
XYZxyz(5.9871, 9.6971, 2.1284)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346312 #411263
analogous
#5C6312 #346312 #126318
triadic
#346312 #123463 #631234
tetradic
#346312 #125C63 #411263 #631812
square
#346312 #125C63 #411263 #631812
split-complementary
#346312 #181263 #63125C
monochromatic
#0E1A05 #192F09 #346312 #4F971B #6ACB25

Accessibility & contrast

On white

7.14
#346312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#346312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #346312
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346312#FFFFFF#000000##FFFFFF
##3463121.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#61561B
Tritanopia (blue-blind)
#325F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #346312;
/* rgb */ color: rgb(52, 99, 18);
/* oklch */ color: oklch(44.9% 0.121 135.5);
Tailwind
colors: {
  custom: {
    50: '#719057',
    500: '#346312',
    950: '#000000',
  },
}
SCSS
$custom: #346312;
$custom-light: #719057;
$custom-dark: #000000;
JSON
{
  "hex": "#346312",
  "rgb": {
    "r": 52,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 94.815,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44917,
    "c": 0.12061,
    "h": 135.5
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#346312
secondary
#71369B
accent
#3CECA2
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #346312

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

Preview Lab → · Contrast checker → · Palette generator →

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