#339238#339238

#339238 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.4% C 0.156 H 144.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#339238
RGBrgb(51, 146, 56)
HSLhsl(123, 48%, 39%)
HSVhsv(123, 65%, 57%)
CMYKcmyk(65.1%, 0%, 61.6%, 42.7%)
CIE-LABlab(53.54, -46.45, 38.84)
CIE-LCHlch(53.54, 60.55, 140.10°)
OKLaboklab(58.4% -0.1259 0.0913)
OKLCHoklch(58.4% 0.156 144.1)
XYZxyz(12.3572, 21.5459, 7.2482)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339238 #92338D
analogous
#5D9233 #339238 #339267
triadic
#339238 #383392 #923833
tetradic
#339238 #335D92 #92338D #926733
square
#339238 #335D92 #92338D #926733
split-complementary
#339238 #673392 #92335D
monochromatic
#133715 #236527 #339238 #44BE4B #72CE77

Accessibility & contrast

On white

3.96
#339238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#339238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339238
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339238#FFFFFF#000000##000000
##3392381.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852E
Deuteranopia (green-blind)
#897D3F
Tritanopia (blue-blind)
#1D8E7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #339238;
/* rgb */ color: rgb(51, 146, 56);
/* oklch */ color: oklch(58.4% 0.156 144.1);
Tailwind
colors: {
  custom: {
    50: '#77b372',
    500: '#339238',
    950: '#000000',
  },
}
SCSS
$custom: #339238;
$custom-light: #77b372;
$custom-dark: #000000;
JSON
{
  "hex": "#339238",
  "rgb": {
    "r": 51,
    "g": 146,
    "b": 56
  },
  "hsl": {
    "h": 123.158,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58401,
    "c": 0.15551,
    "h": 144.1
  },
  "luminance": 0.21547
}

Semantic roles & 50–950 ramp

primary
#339238
secondary
#B66BB2
accent
#50D1D8
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #339238

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

Preview Lab → · Contrast checker → · Palette generator →

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