#34701B#34701B

#34701B is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.7% C 0.132 H 138.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#34701B
RGBrgb(52, 112, 27)
HSLhsl(102, 61%, 27%)
HSVhsv(102, 76%, 44%)
CMYKcmyk(53.6%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.84, -35.73, 39.06)
CIE-LCHlch(41.84, 52.94, 132.46°)
OKLaboklab(48.67% -0.0987 0.0882)
OKLCHoklch(48.67% 0.132 138.2)
XYZxyz(7.4079, 12.3970, 3.0392)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34701B #571B70
analogous
#5F701B #34701B #1B702D
triadic
#34701B #1B3470 #701B34
tetradic
#34701B #1B5F70 #571B70 #702D1B
square
#34701B #1B5F70 #571B70 #702D1B
split-complementary
#34701B #2D1B70 #701B5F
monochromatic
#0B1906 #1D3F0F #34701B #4BA127 #63CF37

Accessibility & contrast

On white

6.04
#34701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#34701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34701B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34701B#FFFFFF#000000##FFFFFF
##34701B1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660C
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#2F6C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #34701b;
/* rgb */ color: rgb(52, 112, 27);
/* oklch */ color: oklch(48.7% 0.132 138.2);
Tailwind
colors: {
  custom: {
    50: '#729a5d',
    500: '#34701b',
    950: '#000000',
  },
}
SCSS
$custom: #34701b;
$custom-light: #729a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#34701b",
  "rgb": {
    "r": 52,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 102.353,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.13238,
    "h": 138.2
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#34701B
secondary
#8842A5
accent
#44E4B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #34701B

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

Preview Lab → · Contrast checker → · Palette generator →

#34701B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva