#338E43#338E43

#338E43 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.140 H 146.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#338E43
RGBrgb(51, 142, 67)
HSLhsl(131, 47%, 38%)
HSVhsv(131, 64%, 56%)
CMYKcmyk(64.1%, 0%, 52.8%, 44.3%)
CIE-LABlab(52.35, -43.41, 31.95)
CIE-LCHlch(52.35, 53.91, 143.64°)
OKLaboklab(57.46% -0.1173 0.077)
OKLCHoklch(57.46% 0.14 146.7)
XYZxyz(12.0506, 20.4539, 8.6220)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E43 #8E337E
analogous
#518E33 #338E43 #338E70
triadic
#338E43 #43338E #8E4333
tetradic
#338E43 #33518E #8E337E #8E7033
square
#338E43 #33518E #8E337E #8E7033
split-complementary
#338E43 #70338E #8E3351
monochromatic
#133419 #23612E #338E43 #43BB58 #70CC80

Accessibility & contrast

On white

4.12
#338E43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#338E43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E43
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E43#FFFFFF#000000##000000
##338E431.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823C
Deuteranopia (green-blind)
#847A48
Tritanopia (blue-blind)
#1B8B7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338e43;
/* rgb */ color: rgb(51, 142, 67);
/* oklch */ color: oklch(57.5% 0.140 146.7);
Tailwind
colors: {
  custom: {
    50: '#75b079',
    500: '#338e43',
    950: '#000000',
  },
}
SCSS
$custom: #338e43;
$custom-light: #75b079;
$custom-dark: #000000;
JSON
{
  "hex": "#338e43",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 67
  },
  "hsl": {
    "h": 130.549,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.14035,
    "h": 146.7
  },
  "luminance": 0.20455
}

Semantic roles & 50–950 ramp

primary
#338E43
secondary
#B469A6
accent
#51BFD7
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338E43

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

Preview Lab → · Contrast checker → · Palette generator →

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