#338323#338323

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

Color values

HEX#338323
RGBrgb(51, 131, 35)
HSLhsl(110, 58%, 33%)
HSVhsv(110, 73%, 51%)
CMYKcmyk(61.1%, 0%, 73.3%, 48.6%)
CIE-LABlab(48.33, -42.96, 42.46)
CIE-LCHlch(48.33, 60.40, 135.33°)
OKLaboklab(54.04% -0.1176 0.0965)
OKLCHoklch(54.04% 0.152 140.6)
XYZxyz(9.7845, 17.0569, 4.3665)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338323 #732383
analogous
#638323 #338323 #238343
triadic
#338323 #233383 #832333
tetradic
#338323 #236383 #732383 #834323
square
#338323 #236383 #732383 #834323
split-complementary
#338323 #432383 #832363
monochromatic
#0D2209 #205316 #338323 #46B330 #65D050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338323#FFFFFF#000000##FFFFFF
##3383231.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)
#877713
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#287F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338323;
/* rgb */ color: rgb(51, 131, 35);
/* oklch */ color: oklch(54.0% 0.152 140.6);
Tailwind
colors: {
  custom: {
    50: '#75a864',
    500: '#338323',
    950: '#000000',
  },
}
SCSS
$custom: #338323;
$custom-light: #75a864;
$custom-dark: #000000;
JSON
{
  "hex": "#338323",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 110,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.15213,
    "h": 140.6
  },
  "luminance": 0.17058
}

Semantic roles & 50–950 ramp

primary
#338323
secondary
#A34EB4
accent
#47E1C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338323

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

Preview Lab → · Contrast checker → · Palette generator →

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