#346817#346817

#346817 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.4% C 0.124 H 136.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#346817
RGBrgb(52, 104, 23)
HSLhsl(99, 64%, 25%)
HSVhsv(99, 78%, 41%)
CMYKcmyk(50%, 0%, 77.9%, 59.2%)
CIE-LABlab(39.06, -32.63, 37.85)
CIE-LCHlch(39.06, 49.97, 130.76°)
OKLaboklab(46.38% -0.0906 0.0851)
OKLCHoklch(46.38% 0.124 136.8)
XYZxyz(6.5210, 10.6921, 2.5306)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346817 #4B1768
analogous
#5C6817 #346817 #176823
triadic
#346817 #173468 #681734
tetradic
#346817 #175C68 #4B1768 #682317
square
#346817 #175C68 #4B1768 #682317
split-complementary
#346817 #231768 #68175C
monochromatic
#0D1906 #1B360C #346817 #4D9A22 #66CC2D

Accessibility & contrast

On white

6.69
#346817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#346817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #346817
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346817#FFFFFF#000000##FFFFFF
##3468171.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#316458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #346817;
/* rgb */ color: rgb(52, 104, 23);
/* oklch */ color: oklch(46.4% 0.124 136.8);
Tailwind
colors: {
  custom: {
    50: '#71935a',
    500: '#346817',
    950: '#000000',
  },
}
SCSS
$custom: #346817;
$custom-light: #71935a;
$custom-dark: #000000;
JSON
{
  "hex": "#346817",
  "rgb": {
    "r": 52,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 98.519,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.12428,
    "h": 136.8
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#346817
secondary
#7B3D9E
accent
#41E7AB
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #346817

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

Preview Lab → · Contrast checker → · Palette generator →

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