#339823#339823

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

Color values

HEX#339823
RGBrgb(51, 152, 35)
HSLhsl(112, 63%, 37%)
HSVhsv(112, 77%, 60%)
CMYKcmyk(66.4%, 0%, 77%, 40.4%)
CIE-LABlab(55.36, -50.66, 49.54)
CIE-LCHlch(55.36, 70.85, 135.64°)
OKLaboklab(59.85% -0.1384 0.1113)
OKLCHoklch(59.85% 0.178 141.2)
XYZxyz(12.8962, 23.2803, 5.4037)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339823 #882398
analogous
#6E9823 #339823 #23984E
triadic
#339823 #233398 #982333
tetradic
#339823 #236E98 #882398 #984E23
square
#339823 #236E98 #882398 #984E23
split-complementary
#339823 #4E2398 #98236E
monochromatic
#12350C #226618 #339823 #44CA2E #6DD95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339823#FFFFFF#000000##000000
##3398231.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)
#9C8A08
Deuteranopia (green-blind)
#908130
Tritanopia (blue-blind)
#209382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339823;
/* rgb */ color: rgb(51, 152, 35);
/* oklch */ color: oklch(59.9% 0.178 141.2);
Tailwind
colors: {
  custom: {
    50: '#79b767',
    500: '#339823',
    950: '#000000',
  },
}
SCSS
$custom: #339823;
$custom-light: #79b767;
$custom-dark: #000000;
JSON
{
  "hex": "#339823",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 111.795,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.1776,
    "h": 141.2
  },
  "luminance": 0.23282
}

Semantic roles & 50–950 ramp

primary
#339823
secondary
#B059BE
accent
#42E6CF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339823

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

Preview Lab → · Contrast checker → · Palette generator →

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