#34631F#34631F

#34631F is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.111 H 137.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#34631F
RGBrgb(52, 99, 31)
HSLhsl(101, 52%, 25%)
HSVhsv(101, 69%, 39%)
CMYKcmyk(47.5%, 0%, 68.7%, 61.2%)
CIE-LABlab(37.39, -29.69, 32.64)
CIE-LCHlch(37.39, 44.12, 132.29°)
OKLaboklab(45.03% -0.082 0.0753)
OKLCHoklch(45.03% 0.111 137.4)
XYZxyz(6.1251, 9.7523, 2.8557)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34631F #4E1F63
analogous
#56631F #34631F #1F632C
triadic
#34631F #1F3463 #631F34
tetradic
#34631F #1F5663 #4E1F63 #632C1F
square
#34631F #1F5663 #4E1F63 #632C1F
split-complementary
#34631F #2C1F63 #631F56
monochromatic
#0C1707 #1C3410 #34631F #4C922E #65C03C

Accessibility & contrast

On white

7.12
#34631F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#34631F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34631F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34631F#FFFFFF#000000##FFFFFF
##34631F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A16
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#315F55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #34631f;
/* rgb */ color: rgb(52, 99, 31);
/* oklch */ color: oklch(45.0% 0.111 137.4);
Tailwind
colors: {
  custom: {
    50: '#70905e',
    500: '#34631f',
    950: '#000000',
  },
}
SCSS
$custom: #34631f;
$custom-light: #70905e;
$custom-dark: #000000;
JSON
{
  "hex": "#34631f",
  "rgb": {
    "r": 52,
    "g": 99,
    "b": 31
  },
  "hsl": {
    "h": 101.471,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45032,
    "c": 0.11134,
    "h": 137.4
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#34631F
secondary
#7E4698
accent
#4CDCAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #34631F

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

Preview Lab → · Contrast checker → · Palette generator →

#34631F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva