#347312#347312

#347312 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.141 H 137.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#347312
RGBrgb(52, 115, 18)
HSLhsl(99, 73%, 26%)
HSVhsv(99, 84%, 45%)
CMYKcmyk(54.8%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.82, -37.58, 43.19)
CIE-LCHlch(42.82, 57.25, 131.02°)
OKLaboklab(49.46% -0.1042 0.0955)
OKLCHoklch(49.46% 0.141 137.5)
XYZxyz(7.6558, 13.0346, 2.6847)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#347312 #511273
analogous
#647312 #347312 #127320
triadic
#347312 #123473 #731234
tetradic
#347312 #126473 #511273 #732012
square
#347312 #126473 #511273 #732012
split-complementary
#347312 #201273 #731264
monochromatic
#0C1A04 #1C3E0A #347312 #4CA81A #64DD23

Accessibility & contrast

On white

5.82
#347312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#347312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #347312
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##347312#FFFFFF#000000##FFFFFF
##3473121.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#2F6F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #347312;
/* rgb */ color: rgb(52, 115, 18);
/* oklch */ color: oklch(49.5% 0.141 137.5);
Tailwind
colors: {
  custom: {
    50: '#739c5a',
    500: '#347312',
    950: '#000000',
  },
}
SCSS
$custom: #347312;
$custom-light: #739c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#347312",
  "rgb": {
    "r": 52,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 98.969,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.14135,
    "h": 137.5
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#347312
secondary
#8237AA
accent
#38F0AF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #347312

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

Preview Lab → · Contrast checker → · Palette generator →

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