#338324#338324

#338324 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.151 H 140.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#338324
RGBrgb(51, 131, 36)
HSLhsl(111, 57%, 33%)
HSVhsv(111, 73%, 51%)
CMYKcmyk(61.1%, 0%, 72.5%, 48.6%)
CIE-LABlab(48.34, -42.87, 42.06)
CIE-LCHlch(48.34, 60.06, 135.55°)
OKLaboklab(54.04% -0.1173 0.0958)
OKLCHoklch(54.04% 0.151 140.8)
XYZxyz(9.7995, 17.0629, 4.4458)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338324 #742483
analogous
#638324 #338324 #248344
triadic
#338324 #243383 #832433
tetradic
#338324 #246383 #742483 #834424
square
#338324 #246383 #742483 #834424
split-complementary
#338324 #442483 #832463
monochromatic
#0E230A #205317 #338324 #46B331 #66CF52

Accessibility & contrast

On white

4.76
#338324 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#338324 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338324
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338324#FFFFFF#000000##FFFFFF
##3383241.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867715
Deuteranopia (green-blind)
#7D702D
Tritanopia (blue-blind)
#287F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338324;
/* rgb */ color: rgb(51, 131, 36);
/* oklch */ color: oklch(54.0% 0.151 140.8);
Tailwind
colors: {
  custom: {
    50: '#75a865',
    500: '#338324',
    950: '#000000',
  },
}
SCSS
$custom: #338324;
$custom-light: #75a865;
$custom-dark: #000000;
JSON
{
  "hex": "#338324",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 110.526,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.15146,
    "h": 140.8
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#338324
secondary
#A44FB3
accent
#48E0C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338324

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

Preview Lab → · Contrast checker → · Palette generator →

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