#347212#347212

#347212 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.2% C 0.140 H 137.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#347212
RGBrgb(52, 114, 18)
HSLhsl(99, 73%, 26%)
HSVhsv(99, 84%, 45%)
CMYKcmyk(54.4%, 0%, 84.2%, 55.3%)
CIE-LABlab(42.47, -37.17, 42.88)
CIE-LCHlch(42.47, 56.75, 130.92°)
OKLaboklab(49.18% -0.1031 0.0948)
OKLCHoklch(49.18% 0.14 137.4)
XYZxyz(7.5424, 12.8078, 2.6469)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#347212 #501272
analogous
#647212 #347212 #127220
triadic
#347212 #123472 #721234
tetradic
#347212 #126472 #501272 #722012
square
#347212 #126472 #501272 #722012
split-complementary
#347212 #201272 #721264
monochromatic
#0C1A04 #1C3D0A #347212 #4CA71A #64DC23

Accessibility & contrast

On white

5.90
#347212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#347212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #347212
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##347212#FFFFFF#000000##FFFFFF
##3472121.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#306E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #347212;
/* rgb */ color: rgb(52, 114, 18);
/* oklch */ color: oklch(49.2% 0.140 137.4);
Tailwind
colors: {
  custom: {
    50: '#739b59',
    500: '#347212',
    950: '#000000',
  },
}
SCSS
$custom: #347212;
$custom-light: #739b59;
$custom-dark: #000000;
JSON
{
  "hex": "#347212",
  "rgb": {
    "r": 52,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 98.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.1401,
    "h": 137.4
  },
  "luminance": 0.12808
}

Semantic roles & 50–950 ramp

primary
#347212
secondary
#8137A9
accent
#38EFAF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #347212

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

Preview Lab → · Contrast checker → · Palette generator →

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