#338250#338250

#338250 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.4% C 0.110 H 152.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#338250
RGBrgb(51, 130, 80)
HSLhsl(142, 44%, 35%)
HSVhsv(142, 61%, 51%)
CMYKcmyk(60.8%, 0%, 38.5%, 49%)
CIE-LABlab(48.57, -36.18, 20.06)
CIE-LCHlch(48.57, 41.37, 151.00°)
OKLaboklab(54.42% -0.098 0.0502)
OKLCHoklch(54.42% 0.11 152.9)
XYZxyz(10.7950, 17.2472, 10.3480)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338250 #823365
analogous
#3E8233 #338250 #338277
triadic
#338250 #503382 #825033
tetradic
#338250 #333E82 #823365 #827733
square
#338250 #333E82 #823365 #827733
split-complementary
#338250 #773382 #82333E
monochromatic
#112A1A #225635 #338250 #44AE6B #6BC58C

Accessibility & contrast

On white

4.72
#338250 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#338250 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338250
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338250#FFFFFF#000000##FFFFFF
##3382501.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784D
Deuteranopia (green-blind)
#777053
Tritanopia (blue-blind)
#1A8075
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338250;
/* rgb */ color: rgb(51, 130, 80);
/* oklch */ color: oklch(54.4% 0.110 152.9);
Tailwind
colors: {
  custom: {
    50: '#73a781',
    500: '#338250',
    950: '#000000',
  },
}
SCSS
$custom: #338250;
$custom-light: #73a781;
$custom-dark: #000000;
JSON
{
  "hex": "#338250",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 80
  },
  "hsl": {
    "h": 142.025,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.11013,
    "h": 152.9
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#338250
secondary
#AD6492
accent
#54A5D3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #338250

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

Preview Lab → · Contrast checker → · Palette generator →

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