#338D37#338D37

#338D37 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.150 H 144.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#338D37
RGBrgb(51, 141, 55)
HSLhsl(123, 47%, 38%)
HSVhsv(123, 64%, 55%)
CMYKcmyk(63.8%, 0%, 61%, 44.7%)
CIE-LABlab(51.87, -44.68, 37.40)
CIE-LCHlch(51.87, 58.26, 140.07°)
OKLaboklab(57.02% -0.1212 0.0881)
OKLCHoklch(57.02% 0.15 144)
XYZxyz(11.5790, 20.0283, 6.8693)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D37 #8D3389
analogous
#5C8D33 #338D37 #338D64
triadic
#338D37 #37338D #8D3733
tetradic
#338D37 #335C8D #8D3389 #8D6433
square
#338D37 #335C8D #8D3389 #8D6433
split-complementary
#338D37 #64338D #8D335C
monochromatic
#123314 #236025 #338D37 #43BA49 #6FCB73

Accessibility & contrast

On white

4.20
#338D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#338D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D37
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D37#FFFFFF#000000##000000
##338D371.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802E
Deuteranopia (green-blind)
#85793E
Tritanopia (blue-blind)
#20897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338d37;
/* rgb */ color: rgb(51, 141, 55);
/* oklch */ color: oklch(57.0% 0.150 144.0);
Tailwind
colors: {
  custom: {
    50: '#76af71',
    500: '#338d37',
    950: '#000000',
  },
}
SCSS
$custom: #338d37;
$custom-light: #76af71;
$custom-dark: #000000;
JSON
{
  "hex": "#338d37",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 122.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.14978,
    "h": 144
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#338D37
secondary
#B369B0
accent
#51D1D7
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338D37

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

Preview Lab → · Contrast checker → · Palette generator →

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