#338339#338339

#338339 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.134 H 144.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#338339
RGBrgb(51, 131, 57)
HSLhsl(125, 44%, 36%)
HSVhsv(125, 61%, 51%)
CMYKcmyk(61.1%, 0%, 56.5%, 48.6%)
CIE-LABlab(48.55, -40.47, 32.50)
CIE-LCHlch(48.55, 51.91, 141.24°)
OKLaboklab(54.29% -0.1097 0.0776)
OKLCHoklch(54.29% 0.134 144.7)
XYZxyz(10.2194, 17.2309, 6.6574)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338339 #83337D
analogous
#558333 #338339 #338361
triadic
#338339 #393383 #833933
tetradic
#338339 #335583 #83337D #836133
square
#338339 #335583 #83337D #836133
split-complementary
#338339 #613383 #833355
monochromatic
#112B13 #225726 #338339 #44AF4C #6BC572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338339#FFFFFF#000000##FFFFFF
##3383391.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)
#857832
Deuteranopia (green-blind)
#7B713F
Tritanopia (blue-blind)
#238072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338339;
/* rgb */ color: rgb(51, 131, 57);
/* oklch */ color: oklch(54.3% 0.134 144.7);
Tailwind
colors: {
  custom: {
    50: '#74a871',
    500: '#338339',
    950: '#000000',
  },
}
SCSS
$custom: #338339;
$custom-light: #74a871;
$custom-dark: #000000;
JSON
{
  "hex": "#338339",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 124.5,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.13437,
    "h": 144.7
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#338339
secondary
#AD65A8
accent
#54CAD4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338339

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

Preview Lab → · Contrast checker → · Palette generator →

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