#338C24#338C24

#338C24 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.163 H 141.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#338C24
RGBrgb(51, 140, 36)
HSLhsl(111, 59%, 35%)
HSVhsv(111, 74%, 55%)
CMYKcmyk(63.6%, 0%, 74.3%, 45.1%)
CIE-LABlab(51.37, -46.26, 45.17)
CIE-LCHlch(51.37, 64.66, 135.68°)
OKLaboklab(56.55% -0.1265 0.1023)
OKLCHoklch(56.55% 0.163 141)
XYZxyz(11.0612, 19.5863, 4.8663)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C24 #7D248C
analogous
#678C24 #338C24 #248C49
triadic
#338C24 #24338C #8C2433
tetradic
#338C24 #24678C #7D248C #8C4924
square
#338C24 #24678C #7D248C #8C4924
split-complementary
#338C24 #49248C #8C2467
monochromatic
#102B0B #215B17 #338C24 #45BD31 #69D457

Accessibility & contrast

On white

4.27
#338C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#338C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C24
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C24#FFFFFF#000000##000000
##338C241.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#258778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338c24;
/* rgb */ color: rgb(51, 140, 36);
/* oklch */ color: oklch(56.5% 0.163 141.0);
Tailwind
colors: {
  custom: {
    50: '#76ae66',
    500: '#338c24',
    950: '#000000',
  },
}
SCSS
$custom: #338c24;
$custom-light: #76ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#338c24",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 111.346,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.16267,
    "h": 141
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#338C24
secondary
#AA54B8
accent
#46E2CC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338C24

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

Preview Lab → · Contrast checker → · Palette generator →

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