#338E4E#338E4E

#338E4E is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.130 H 150.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#338E4E
RGBrgb(51, 142, 78)
HSLhsl(138, 47%, 38%)
HSVhsv(138, 64%, 56%)
CMYKcmyk(64.1%, 0%, 45.1%, 44.3%)
CIE-LABlab(52.51, -41.62, 26.32)
CIE-LCHlch(52.51, 49.24, 147.69°)
OKLaboklab(57.64% -0.1124 0.0648)
OKLCHoklch(57.64% 0.13 150)
XYZxyz(12.4125, 20.5986, 10.5280)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E4E #8E3373
analogous
#468E33 #338E4E #338E7B
triadic
#338E4E #4E338E #8E4E33
tetradic
#338E4E #33468E #8E3373 #8E7B33
square
#338E4E #33468E #8E3373 #8E7B33
split-complementary
#338E4E #7B338E #8E3346
monochromatic
#13341D #236135 #338E4E #43BB67 #70CC8B

Accessibility & contrast

On white

4.10
#338E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#338E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E4E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E4E#FFFFFF#000000##000000
##338E4E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8249
Deuteranopia (green-blind)
#837A52
Tritanopia (blue-blind)
#148C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338e4e;
/* rgb */ color: rgb(51, 142, 78);
/* oklch */ color: oklch(57.6% 0.130 150.0);
Tailwind
colors: {
  custom: {
    50: '#75b080',
    500: '#338e4e',
    950: '#000000',
  },
}
SCSS
$custom: #338e4e;
$custom-light: #75b080;
$custom-dark: #000000;
JSON
{
  "hex": "#338e4e",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 137.802,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57642,
    "c": 0.12971,
    "h": 150
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#338E4E
secondary
#B4699E
accent
#51AFD7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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