#34731D#34731D

#34731D is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.135 H 138.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#34731D
RGBrgb(52, 115, 29)
HSLhsl(104, 60%, 28%)
HSVhsv(104, 75%, 45%)
CMYKcmyk(54.8%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.88, -36.82, 39.31)
CIE-LCHlch(42.88, 53.86, 133.13°)
OKLaboklab(49.54% -0.1015 0.089)
OKLCHoklch(49.54% 0.135 138.7)
XYZxyz(7.7684, 13.0796, 3.2774)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34731D #5C1D73
analogous
#5F731D #34731D #1D7331
triadic
#34731D #1D3473 #731D34
tetradic
#34731D #1D5F73 #5C1D73 #73311D
square
#34731D #1D5F73 #5C1D73 #73311D
split-complementary
#34731D #311D73 #731D5F
monochromatic
#0B1806 #1E4211 #34731D #4AA429 #63CE3C

Accessibility & contrast

On white

5.81
#34731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#34731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34731D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34731D#FFFFFF#000000##FFFFFF
##34731D1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690E
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#2E6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #34731d;
/* rgb */ color: rgb(52, 115, 29);
/* oklch */ color: oklch(49.5% 0.135 138.7);
Tailwind
colors: {
  custom: {
    50: '#739c5f',
    500: '#34731d',
    950: '#000000',
  },
}
SCSS
$custom: #34731d;
$custom-light: #739c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#34731d",
  "rgb": {
    "r": 52,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 103.953,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.13501,
    "h": 138.7
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#34731D
secondary
#8D45A7
accent
#45E3B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #34731D

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

Preview Lab → · Contrast checker → · Palette generator →

#34731D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva