#347211#347211

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

Color values

HEX#347211
RGBrgb(52, 114, 17)
HSLhsl(98, 74%, 26%)
HSVhsv(98, 85%, 45%)
CMYKcmyk(54.4%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.47, -37.23, 43.18)
CIE-LCHlch(42.47, 57.01, 130.77°)
OKLaboklab(49.17% -0.1034 0.0953)
OKLCHoklch(49.17% 0.141 137.3)
XYZxyz(7.5344, 12.8046, 2.6047)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#347211 #4F1172
analogous
#647211 #347211 #11721F
triadic
#347211 #113472 #721134
tetradic
#347211 #116472 #4F1172 #721F11
square
#347211 #116472 #4F1172 #721F11
split-complementary
#347211 #1F1172 #721164
monochromatic
#0C1B04 #1C3D09 #347211 #4CA719 #65DD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##347211#FFFFFF#000000##FFFFFF
##3472111.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)
#6E621D
Tritanopia (blue-blind)
#306E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #347211;
/* rgb */ color: rgb(52, 114, 17);
/* oklch */ color: oklch(49.2% 0.141 137.3);
Tailwind
colors: {
  custom: {
    50: '#739b59',
    500: '#347211',
    950: '#000000',
  },
}
SCSS
$custom: #347211;
$custom-light: #739b59;
$custom-dark: #000000;
JSON
{
  "hex": "#347211",
  "rgb": {
    "r": 52,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 98.351,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49171,
    "c": 0.14058,
    "h": 137.3
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#347211
secondary
#7F36A9
accent
#37F1AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #347211

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

Preview Lab → · Contrast checker → · Palette generator →

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