#339825#339825

#339825 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.176 H 141.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#339825
RGBrgb(51, 152, 37)
HSLhsl(113, 61%, 37%)
HSVhsv(113, 76%, 60%)
CMYKcmyk(66.4%, 0%, 75.7%, 40.4%)
CIE-LABlab(55.37, -50.51, 48.84)
CIE-LCHlch(55.37, 70.26, 135.97°)
OKLaboklab(59.86% -0.1379 0.1101)
OKLCHoklch(59.86% 0.176 141.4)
XYZxyz(12.9267, 23.2925, 5.5646)
Luminance0.2329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339825 #8A2598
analogous
#6C9825 #339825 #259851
triadic
#339825 #253398 #982533
tetradic
#339825 #256C98 #8A2598 #985125
square
#339825 #256C98 #8A2598 #985125
split-complementary
#339825 #512598 #98256C
monochromatic
#12360D #226719 #339825 #44C931 #6ED85F

Accessibility & contrast

On white

3.71
#339825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#339825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339825
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339825#FFFFFF#000000##000000
##3398251.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0E
Deuteranopia (green-blind)
#908131
Tritanopia (blue-blind)
#209382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339825;
/* rgb */ color: rgb(51, 152, 37);
/* oklch */ color: oklch(59.9% 0.176 141.4);
Tailwind
colors: {
  custom: {
    50: '#79b768',
    500: '#339825',
    950: '#000000',
  },
}
SCSS
$custom: #339825;
$custom-light: #79b768;
$custom-dark: #000000;
JSON
{
  "hex": "#339825",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 112.696,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59864,
    "c": 0.17646,
    "h": 141.4
  },
  "luminance": 0.23294
}

Semantic roles & 50–950 ramp

primary
#339825
secondary
#B15CBD
accent
#44E4D0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339825

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

Preview Lab → · Contrast checker → · Palette generator →

#339825 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva