#338424#338424

#338424 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.153 H 140.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338424
RGBrgb(51, 132, 36)
HSLhsl(111, 57%, 33%)
HSVhsv(111, 73%, 52%)
CMYKcmyk(61.4%, 0%, 72.7%, 48.2%)
CIE-LABlab(48.68, -43.25, 42.41)
CIE-LCHlch(48.68, 60.58, 135.56°)
OKLaboklab(54.32% -0.1184 0.0965)
OKLCHoklch(54.32% 0.153 140.8)
XYZxyz(9.9345, 17.3328, 4.4908)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338424 #752484
analogous
#638424 #338424 #248445
triadic
#338424 #243384 #842433
tetradic
#338424 #246384 #752484 #844524
square
#338424 #246384 #752484 #844524
split-complementary
#338424 #452484 #842463
monochromatic
#0E240A #205417 #338424 #46B431 #66D052

Accessibility & contrast

On white

4.70
#338424 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#338424 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338424
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338424#FFFFFF#000000##FFFFFF
##3384241.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887815
Deuteranopia (green-blind)
#7D712D
Tritanopia (blue-blind)
#278071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338424;
/* rgb */ color: rgb(51, 132, 36);
/* oklch */ color: oklch(54.3% 0.153 140.8);
Tailwind
colors: {
  custom: {
    50: '#75a965',
    500: '#338424',
    950: '#000000',
  },
}
SCSS
$custom: #338424;
$custom-light: #75a965;
$custom-dark: #000000;
JSON
{
  "hex": "#338424",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 110.625,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.15273,
    "h": 140.8
  },
  "luminance": 0.17334
}

Semantic roles & 50–950 ramp

primary
#338424
secondary
#A450B4
accent
#47E0C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338424

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

Preview Lab → · Contrast checker → · Palette generator →

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