#338921#338921

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

Color values

HEX#338921
RGBrgb(51, 137, 33)
HSLhsl(110, 61%, 33%)
HSVhsv(110, 76%, 54%)
CMYKcmyk(62.8%, 0%, 75.9%, 46.3%)
CIE-LABlab(50.34, -45.39, 45.28)
CIE-LCHlch(50.34, 64.11, 135.07°)
OKLaboklab(55.69% -0.1243 0.1021)
OKLCHoklch(55.69% 0.161 140.6)
XYZxyz(10.5849, 18.7039, 4.4910)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338921 #772189
analogous
#678921 #338921 #218943
triadic
#338921 #213389 #892133
tetradic
#338921 #216789 #772189 #894321
square
#338921 #216789 #772189 #894321
split-complementary
#338921 #432189 #892167
monochromatic
#0E2609 #215815 #338921 #45BA2D #67D550

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338921#FFFFFF#000000##000000
##3389211.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)
#8D7C0C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#268475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338921;
/* rgb */ color: rgb(51, 137, 33);
/* oklch */ color: oklch(55.7% 0.161 140.6);
Tailwind
colors: {
  custom: {
    50: '#76ac64',
    500: '#338921',
    950: '#000000',
  },
}
SCSS
$custom: #338921;
$custom-light: #76ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#338921",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 109.615,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.16085,
    "h": 140.6
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#338921
secondary
#A64EB8
accent
#44E4C8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338921

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

Preview Lab → · Contrast checker → · Palette generator →

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