#338D43#338D43

#338D43 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.139 H 146.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#338D43
RGBrgb(51, 141, 67)
HSLhsl(131, 47%, 38%)
HSVhsv(131, 64%, 55%)
CMYKcmyk(63.8%, 0%, 52.5%, 44.7%)
CIE-LABlab(52.01, -43.02, 31.55)
CIE-LCHlch(52.01, 53.34, 143.75°)
OKLaboklab(57.18% -0.1162 0.0761)
OKLCHoklch(57.18% 0.139 146.8)
XYZxyz(11.9024, 20.1576, 8.5727)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D43 #8D337D
analogous
#508D33 #338D43 #338D70
triadic
#338D43 #43338D #8D4333
tetradic
#338D43 #33508D #8D337D #8D7033
square
#338D43 #33508D #8D337D #8D7033
split-complementary
#338D43 #70338D #8D3350
monochromatic
#123318 #23602E #338D43 #43BA58 #6FCB80

Accessibility & contrast

On white

4.17
#338D43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#338D43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D43
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D43#FFFFFF#000000##000000
##338D431.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813D
Deuteranopia (green-blind)
#837948
Tritanopia (blue-blind)
#1B8A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338d43;
/* rgb */ color: rgb(51, 141, 67);
/* oklch */ color: oklch(57.2% 0.139 146.8);
Tailwind
colors: {
  custom: {
    50: '#75af79',
    500: '#338d43',
    950: '#000000',
  },
}
SCSS
$custom: #338d43;
$custom-light: #75af79;
$custom-dark: #000000;
JSON
{
  "hex": "#338d43",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 67
  },
  "hsl": {
    "h": 130.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57184,
    "c": 0.13896,
    "h": 146.8
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#338D43
secondary
#B369A6
accent
#51BFD7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338D43

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

Preview Lab → · Contrast checker → · Palette generator →

#338D43 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva