#338024#338024

#338024 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.148 H 140.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#338024
RGBrgb(51, 128, 36)
HSLhsl(110, 56%, 32%)
HSVhsv(110, 72%, 50%)
CMYKcmyk(60.2%, 0%, 71.9%, 49.8%)
CIE-LABlab(47.33, -41.71, 41.00)
CIE-LCHlch(47.33, 58.49, 135.49°)
OKLaboklab(53.21% -0.1142 0.0936)
OKLCHoklch(53.21% 0.148 140.7)
XYZxyz(9.4024, 16.2687, 4.3134)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338024 #712480
analogous
#618024 #338024 #248043
triadic
#338024 #243380 #802433
tetradic
#338024 #246180 #712480 #804324
square
#338024 #246180 #712480 #804324
split-complementary
#338024 #432480 #802461
monochromatic
#0D2009 #205017 #338024 #46B031 #65CE50

Accessibility & contrast

On white

4.94
#338024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#338024 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338024
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338024#FFFFFF#000000##FFFFFF
##3380241.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837416
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#297C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #338024;
/* rgb */ color: rgb(51, 128, 36);
/* oklch */ color: oklch(53.2% 0.148 140.7);
Tailwind
colors: {
  custom: {
    50: '#74a664',
    500: '#338024',
    950: '#000000',
  },
}
SCSS
$custom: #338024;
$custom-light: #74a664;
$custom-dark: #000000;
JSON
{
  "hex": "#338024",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 110.217,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.14762,
    "h": 140.7
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#338024
secondary
#A24EB2
accent
#48DFC7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #338024

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

Preview Lab → · Contrast checker → · Palette generator →

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