#346812#346812

#346812 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.3% C 0.127 H 136.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#346812
RGBrgb(52, 104, 18)
HSLhsl(96, 70%, 24%)
HSVhsv(96, 83%, 41%)
CMYKcmyk(50%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.03, -32.97, 39.66)
CIE-LCHlch(39.03, 51.57, 129.74°)
OKLaboklab(46.34% -0.0919 0.0881)
OKLCHoklch(46.34% 0.127 136.2)
XYZxyz(6.4755, 10.6739, 2.2912)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346812 #461268
analogous
#5F6812 #346812 #12681B
triadic
#346812 #123468 #681234
tetradic
#346812 #125F68 #461268 #681B12
square
#346812 #125F68 #461268 #681B12
split-complementary
#346812 #1B1268 #68125F
monochromatic
#0D1A05 #1A3409 #346812 #4E9C1B #68D024

Accessibility & contrast

On white

6.70
#346812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#346812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #346812
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346812#FFFFFF#000000##FFFFFF
##3468121.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#326458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #346812;
/* rgb */ color: rgb(52, 104, 18);
/* oklch */ color: oklch(46.3% 0.127 136.2);
Tailwind
colors: {
  custom: {
    50: '#719358',
    500: '#346812',
    950: '#000000',
  },
}
SCSS
$custom: #346812;
$custom-light: #719358;
$custom-dark: #000000;
JSON
{
  "hex": "#346812",
  "rgb": {
    "r": 52,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 96.279,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4634,
    "c": 0.12725,
    "h": 136.2
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#346812
secondary
#7636A0
accent
#3BEDA7
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #346812

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

Preview Lab → · Contrast checker → · Palette generator →

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