#34731A#34731A

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

Color values

HEX#34731A
RGBrgb(52, 115, 26)
HSLhsl(102, 63%, 28%)
HSVhsv(102, 77%, 45%)
CMYKcmyk(54.8%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.86, -37.06, 40.47)
CIE-LCHlch(42.86, 54.87, 132.48°)
OKLaboklab(49.51% -0.1023 0.091)
OKLCHoklch(49.51% 0.137 138.4)
XYZxyz(7.7331, 13.0655, 3.0915)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34731A #591A73
analogous
#60731A #34731A #1A732C
triadic
#34731A #1A3473 #731A34
tetradic
#34731A #1A6073 #591A73 #732C1A
square
#34731A #1A6073 #591A73 #732C1A
split-complementary
#34731A #2C1A73 #731A60
monochromatic
#0B1906 #1D410F #34731A #4BA525 #63D236

Accessibility & contrast

On white

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

On black

3.61
#34731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##34731A#FFFFFF#000000##FFFFFF
##34731A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776808
Deuteranopia (green-blind)
#6F6323
Tritanopia (blue-blind)
#2F6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #34731a;
/* rgb */ color: rgb(52, 115, 26);
/* oklch */ color: oklch(49.5% 0.137 138.4);
Tailwind
colors: {
  custom: {
    50: '#739c5d',
    500: '#34731a',
    950: '#000000',
  },
}
SCSS
$custom: #34731a;
$custom-light: #739c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#34731a",
  "rgb": {
    "r": 52,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 102.472,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.13696,
    "h": 138.4
  },
  "luminance": 0.13066
}

Semantic roles & 50–950 ramp

primary
#34731A
secondary
#8A41A8
accent
#42E6B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #34731A

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

Preview Lab → · Contrast checker → · Palette generator →

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