#338E45#338E45

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

Color values

HEX#338E45
RGBrgb(51, 142, 69)
HSLhsl(132, 47%, 38%)
HSVhsv(132, 64%, 56%)
CMYKcmyk(64.1%, 0%, 51.4%, 44.3%)
CIE-LABlab(52.37, -43.11, 30.95)
CIE-LCHlch(52.37, 53.06, 144.32°)
OKLaboklab(57.49% -0.1164 0.0749)
OKLCHoklch(57.49% 0.138 147.2)
XYZxyz(12.1116, 20.4783, 8.9435)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E45 #8E337C
analogous
#4F8E33 #338E45 #338E72
triadic
#338E45 #45338E #8E4533
tetradic
#338E45 #334F8E #8E337C #8E7233
square
#338E45 #334F8E #8E337C #8E7233
split-complementary
#338E45 #72338E #8E334F
monochromatic
#133419 #23612F #338E45 #43BB5B #70CC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338E45#FFFFFF#000000##000000
##338E451.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#847A4A
Tritanopia (blue-blind)
#1A8B7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338e45;
/* rgb */ color: rgb(51, 142, 69);
/* oklch */ color: oklch(57.5% 0.138 147.2);
Tailwind
colors: {
  custom: {
    50: '#75b07a',
    500: '#338e45',
    950: '#000000',
  },
}
SCSS
$custom: #338e45;
$custom-light: #75b07a;
$custom-dark: #000000;
JSON
{
  "hex": "#338e45",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 69
  },
  "hsl": {
    "h": 131.868,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.13845,
    "h": 147.2
  },
  "luminance": 0.20479
}

Semantic roles & 50–950 ramp

primary
#338E45
secondary
#B469A5
accent
#51BCD7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338E45

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

Preview Lab → · Contrast checker → · Palette generator →

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