#339F23#339F23

#339F23 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.8% C 0.186 H 141.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#339F23
RGBrgb(51, 159, 35)
HSLhsl(112, 64%, 38%)
HSVhsv(112, 78%, 62%)
CMYKcmyk(67.9%, 0%, 78%, 37.6%)
CIE-LABlab(57.67, -53.09, 51.80)
CIE-LCHlch(57.67, 74.17, 135.70°)
OKLaboklab(61.77% -0.145 0.116)
OKLCHoklch(61.77% 0.186 141.3)
XYZxyz(14.0660, 25.6200, 5.7937)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F23 #8F239F
analogous
#719F23 #339F23 #239F51
triadic
#339F23 #23339F #9F2333
tetradic
#339F23 #23719F #8F239F #9F5123
square
#339F23 #23719F #8F239F #9F5123
split-complementary
#339F23 #51239F #9F2371
monochromatic
#133B0D #236D18 #339F23 #43D12E #70DC60

Accessibility & contrast

On white

3.43
#339F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#339F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F23
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F23#FFFFFF#000000##000000
##339F231.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#1D9A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f23;
/* rgb */ color: rgb(51, 159, 35);
/* oklch */ color: oklch(61.8% 0.186 141.3);
Tailwind
colors: {
  custom: {
    50: '#7abc68',
    500: '#339f23',
    950: '#000000',
  },
}
SCSS
$custom: #339f23;
$custom-light: #7abc68;
$custom-dark: #000000;
JSON
{
  "hex": "#339f23",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 112.258,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61768,
    "c": 0.18567,
    "h": 141.3
  },
  "luminance": 0.25621
}

Semantic roles & 50–950 ramp

primary
#339F23
secondary
#B45DC1
accent
#41E7D2
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #339F23

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

Preview Lab → · Contrast checker → · Palette generator →

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