#338823#338823

#338823 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.158 H 140.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338823
RGBrgb(51, 136, 35)
HSLhsl(110, 59%, 34%)
HSVhsv(110, 74%, 53%)
CMYKcmyk(62.5%, 0%, 74.3%, 46.7%)
CIE-LABlab(50.02, -44.85, 44.19)
CIE-LCHlch(50.02, 62.96, 135.43°)
OKLaboklab(55.43% -0.1227 0.1001)
OKLCHoklch(55.43% 0.158 140.8)
XYZxyz(10.4723, 18.4325, 4.5957)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338823 #782388
analogous
#658823 #338823 #238845
triadic
#338823 #233388 #882333
tetradic
#338823 #236588 #782388 #884523
square
#338823 #236588 #782388 #884523
split-complementary
#338823 #452388 #882365
monochromatic
#0E270A #215716 #338823 #45B930 #67D353

Accessibility & contrast

On white

4.48
#338823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#338823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338823
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338823#FFFFFF#000000##000000
##3388231.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B11
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#268474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338823;
/* rgb */ color: rgb(51, 136, 35);
/* oklch */ color: oklch(55.4% 0.158 140.8);
Tailwind
colors: {
  custom: {
    50: '#76ab65',
    500: '#338823',
    950: '#000000',
  },
}
SCSS
$custom: #338823;
$custom-light: #76ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#338823",
  "rgb": {
    "r": 51,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 110.495,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.15838,
    "h": 140.8
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#338823
secondary
#A650B7
accent
#46E2C9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338823

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

Preview Lab → · Contrast checker → · Palette generator →

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