#34821C#34821C

#34821C is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.155 H 139.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#34821C
RGBrgb(52, 130, 28)
HSLhsl(106, 65%, 31%)
HSVhsv(106, 78%, 51%)
CMYKcmyk(60%, 0%, 78.5%, 49%)
CIE-LABlab(47.98, -42.86, 44.78)
CIE-LCHlch(47.98, 61.98, 133.75°)
OKLaboklab(53.74% -0.1178 0.1003)
OKLCHoklch(53.74% 0.155 139.6)
XYZxyz(9.6080, 16.7783, 3.8306)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34821C #6A1C82
analogous
#67821C #34821C #1C8237
triadic
#34821C #1C3482 #821C34
tetradic
#34821C #1C6782 #6A1C82 #82371C
square
#34821C #1C6782 #6A1C82 #82371C
split-complementary
#34821C #371C82 #821C67
monochromatic
#0C1D06 #205011 #34821C #48B427 #65D642

Accessibility & contrast

On white

4.82
#34821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#34821C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34821C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34821C#FFFFFF#000000##FFFFFF
##34821C1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#2B7D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #34821c;
/* rgb */ color: rgb(52, 130, 28);
/* oklch */ color: oklch(53.7% 0.155 139.6);
Tailwind
colors: {
  custom: {
    50: '#75a760',
    500: '#34821c',
    950: '#000000',
  },
}
SCSS
$custom: #34821c;
$custom-light: #75a760;
$custom-dark: #000000;
JSON
{
  "hex": "#34821c",
  "rgb": {
    "r": 52,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 105.882,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.15475,
    "h": 139.6
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#34821C
secondary
#9B44B5
accent
#40E8C0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #34821C

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

Preview Lab → · Contrast checker → · Palette generator →

#34821C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva