#338723#338723

#338723 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.157 H 140.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#338723
RGBrgb(51, 135, 35)
HSLhsl(110, 59%, 33%)
HSVhsv(110, 74%, 53%)
CMYKcmyk(62.2%, 0%, 74.1%, 47.1%)
CIE-LABlab(49.68, -44.48, 43.84)
CIE-LCHlch(49.68, 62.45, 135.41°)
OKLaboklab(55.15% -0.1217 0.0994)
OKLCHoklch(55.15% 0.157 140.8)
XYZxyz(10.3321, 18.1521, 4.5490)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338723 #772387
analogous
#658723 #338723 #238745
triadic
#338723 #233387 #872333
tetradic
#338723 #236587 #772387 #874523
square
#338723 #236587 #772387 #874523
split-complementary
#338723 #452387 #872365
monochromatic
#0E260A #215616 #338723 #45B830 #67D252

Accessibility & contrast

On white

4.54
#338723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#338723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338723
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338723#FFFFFF#000000##000000
##3387231.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A12
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#278373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338723;
/* rgb */ color: rgb(51, 135, 35);
/* oklch */ color: oklch(55.1% 0.157 140.8);
Tailwind
colors: {
  custom: {
    50: '#75ab65',
    500: '#338723',
    950: '#000000',
  },
}
SCSS
$custom: #338723;
$custom-light: #75ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#338723",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 110.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.15715,
    "h": 140.8
  },
  "luminance": 0.18153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338723

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

Preview Lab → · Contrast checker → · Palette generator →

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