#339D23#339D23

#339D23 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.2% C 0.183 H 141.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#339D23
RGBrgb(51, 157, 35)
HSLhsl(112, 64%, 38%)
HSVhsv(112, 78%, 62%)
CMYKcmyk(67.5%, 0%, 77.7%, 38.4%)
CIE-LABlab(57.01, -52.40, 51.16)
CIE-LCHlch(57.01, 73.23, 135.69°)
OKLaboklab(61.22% -0.1431 0.1147)
OKLCHoklch(61.22% 0.183 141.3)
XYZxyz(13.7249, 24.9377, 5.6799)
Luminance0.2494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D23 #8D239D
analogous
#709D23 #339D23 #239D50
triadic
#339D23 #23339D #9D2333
tetradic
#339D23 #23709D #8D239D #9D5023
square
#339D23 #23709D #8D239D #9D5023
split-complementary
#339D23 #50239D #9D2370
monochromatic
#12390D #236B18 #339D23 #43CF2E #6FDB5F

Accessibility & contrast

On white

3.51
#339D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#339D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D23
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D23#FFFFFF#000000##000000
##339D231.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E04
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#1E9886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d23;
/* rgb */ color: rgb(51, 157, 35);
/* oklch */ color: oklch(61.2% 0.183 141.3);
Tailwind
colors: {
  custom: {
    50: '#7abb67',
    500: '#339d23',
    950: '#000000',
  },
}
SCSS
$custom: #339d23;
$custom-light: #7abb67;
$custom-dark: #000000;
JSON
{
  "hex": "#339d23",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 112.131,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.18338,
    "h": 141.3
  },
  "luminance": 0.24939
}

Semantic roles & 50–950 ramp

primary
#339D23
secondary
#B35CC0
accent
#41E7D1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339D23

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

Preview Lab → · Contrast checker → · Palette generator →

#339D23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva