#34902F#34902F

#34902F is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.160 H 142.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#34902F
RGBrgb(52, 144, 47)
HSLhsl(117, 51%, 37%)
HSVhsv(117, 67%, 56%)
CMYKcmyk(63.9%, 0%, 67.4%, 43.5%)
CIE-LABlab(52.82, -46.48, 42.16)
CIE-LCHlch(52.82, 62.76, 137.79°)
OKLaboklab(57.78% -0.1265 0.0974)
OKLCHoklch(57.78% 0.16 142.4)
XYZxyz(11.9019, 20.8807, 6.0919)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34902F #8B2F90
analogous
#65902F #34902F #2F905A
triadic
#34902F #2F3490 #902F34
tetradic
#34902F #2F6590 #8B2F90 #905A2F
square
#34902F #2F6590 #8B2F90 #905A2F
split-complementary
#34902F #5A2F90 #902F65
monochromatic
#133411 #236220 #34902F #45BE3E #70CF6B

Accessibility & contrast

On white

4.06
#34902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#34902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34902F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34902F#FFFFFF#000000##000000
##34902F1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938322
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#238C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #34902f;
/* rgb */ color: rgb(52, 144, 47);
/* oklch */ color: oklch(57.8% 0.160 142.4);
Tailwind
colors: {
  custom: {
    50: '#77b16c',
    500: '#34902f',
    950: '#000000',
  },
}
SCSS
$custom: #34902f;
$custom-light: #77b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#34902f",
  "rgb": {
    "r": 52,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 116.907,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.15966,
    "h": 142.4
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#34902F
secondary
#B265B6
accent
#4EDAD3
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #34902F

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

Preview Lab → · Contrast checker → · Palette generator →

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