#338E48#338E48

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

Color values

HEX#338E48
RGBrgb(51, 142, 72)
HSLhsl(134, 47%, 38%)
HSVhsv(134, 64%, 56%)
CMYKcmyk(64.1%, 0%, 49.3%, 44.3%)
CIE-LABlab(52.42, -42.63, 29.42)
CIE-LCHlch(52.42, 51.80, 145.39°)
OKLaboklab(57.54% -0.1151 0.0716)
OKLCHoklch(57.54% 0.136 148.1)
XYZxyz(12.2071, 20.5165, 9.4464)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E48 #8E3379
analogous
#4C8E33 #338E48 #338E75
triadic
#338E48 #48338E #8E4833
tetradic
#338E48 #334C8E #8E3379 #8E7533
square
#338E48 #334C8E #8E3379 #8E7533
split-complementary
#338E48 #75338E #8E334C
monochromatic
#13341A #236131 #338E48 #43BB5F #70CC85

Accessibility & contrast

On white

4.11
#338E48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#338E48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E48
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E48#FFFFFF#000000##000000
##338E481.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8242
Deuteranopia (green-blind)
#847A4D
Tritanopia (blue-blind)
#188B7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338e48;
/* rgb */ color: rgb(51, 142, 72);
/* oklch */ color: oklch(57.5% 0.136 148.1);
Tailwind
colors: {
  custom: {
    50: '#75b07c',
    500: '#338e48',
    950: '#000000',
  },
}
SCSS
$custom: #338e48;
$custom-light: #75b07c;
$custom-dark: #000000;
JSON
{
  "hex": "#338e48",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 72
  },
  "hsl": {
    "h": 133.846,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.13558,
    "h": 148.1
  },
  "luminance": 0.20518
}

Semantic roles & 50–950 ramp

primary
#338E48
secondary
#B469A2
accent
#51B8D7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338E48

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

Preview Lab → · Contrast checker → · Palette generator →

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