#338924#338924

#338924 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.159 H 141.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#338924
RGBrgb(51, 137, 36)
HSLhsl(111, 58%, 34%)
HSVhsv(111, 74%, 54%)
CMYKcmyk(62.8%, 0%, 73.7%, 46.3%)
CIE-LABlab(50.36, -45.14, 44.15)
CIE-LCHlch(50.36, 63.14, 135.64°)
OKLaboklab(55.71% -0.1235 0.1002)
OKLCHoklch(55.71% 0.159 141)
XYZxyz(10.6288, 18.7215, 4.7222)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338924 #7A2489
analogous
#668924 #338924 #248948
triadic
#338924 #243389 #892433
tetradic
#338924 #246689 #7A2489 #894824
square
#338924 #246689 #7A2489 #894824
split-complementary
#338924 #482489 #892466
monochromatic
#0F280B #215917 #338924 #45B931 #68D255

Accessibility & contrast

On white

4.43
#338924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#338924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338924
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338924#FFFFFF#000000##000000
##3389241.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C13
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#268575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338924;
/* rgb */ color: rgb(51, 137, 36);
/* oklch */ color: oklch(55.7% 0.159 141.0);
Tailwind
colors: {
  custom: {
    50: '#76ac65',
    500: '#338924',
    950: '#000000',
  },
}
SCSS
$custom: #338924;
$custom-light: #76ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#338924",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 111.089,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.15898,
    "h": 141
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#338924
secondary
#A852B7
accent
#46E2CB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338924

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

Preview Lab → · Contrast checker → · Palette generator →

#338924 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva