#338923#338923

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

Color values

HEX#338923
RGBrgb(51, 137, 35)
HSLhsl(111, 59%, 34%)
HSVhsv(111, 74%, 54%)
CMYKcmyk(62.8%, 0%, 74.5%, 46.3%)
CIE-LABlab(50.35, -45.23, 44.53)
CIE-LCHlch(50.35, 63.47, 135.45°)
OKLaboklab(55.71% -0.1237 0.1008)
OKLCHoklch(55.71% 0.16 140.8)
XYZxyz(10.6138, 18.7155, 4.6429)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338923 #792389
analogous
#668923 #338923 #238946
triadic
#338923 #233389 #892333
tetradic
#338923 #236689 #792389 #894623
square
#338923 #236689 #792389 #894623
split-complementary
#338923 #462389 #892366
monochromatic
#0F280A #215817 #338923 #45BA2F #67D353

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338923#FFFFFF#000000##000000
##3389231.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)
#8D7C11
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#268575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338923;
/* rgb */ color: rgb(51, 137, 35);
/* oklch */ color: oklch(55.7% 0.160 140.8);
Tailwind
colors: {
  custom: {
    50: '#76ac65',
    500: '#338923',
    950: '#000000',
  },
}
SCSS
$custom: #338923;
$custom-light: #76ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#338923",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 110.588,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55706,
    "c": 0.15962,
    "h": 140.8
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#338923
secondary
#A751B7
accent
#45E2CA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338923

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

Preview Lab → · Contrast checker → · Palette generator →

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