#338623#338623

#338623 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.156 H 140.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#338623
RGBrgb(51, 134, 35)
HSLhsl(110, 59%, 33%)
HSVhsv(110, 74%, 53%)
CMYKcmyk(61.9%, 0%, 73.9%, 47.5%)
CIE-LABlab(49.34, -44.10, 43.50)
CIE-LCHlch(49.34, 61.94, 135.39°)
OKLaboklab(54.87% -0.1207 0.0987)
OKLCHoklch(54.87% 0.156 140.7)
XYZxyz(10.1932, 17.8744, 4.5027)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338623 #762386
analogous
#648623 #338623 #238644
triadic
#338623 #233386 #862333
tetradic
#338623 #236486 #762386 #864423
square
#338623 #236486 #762386 #864423
split-complementary
#338623 #442386 #862364
monochromatic
#0E250A #215516 #338623 #45B730 #66D252

Accessibility & contrast

On white

4.59
#338623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#338623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338623
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338623#FFFFFF#000000##FFFFFF
##3386231.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#7F732D
Tritanopia (blue-blind)
#278273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338623;
/* rgb */ color: rgb(51, 134, 35);
/* oklch */ color: oklch(54.9% 0.156 140.7);
Tailwind
colors: {
  custom: {
    50: '#75aa64',
    500: '#338623',
    950: '#000000',
  },
}
SCSS
$custom: #338623;
$custom-light: #75aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#338623",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 110.303,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.1559,
    "h": 140.7
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338623

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

Preview Lab → · Contrast checker → · Palette generator →

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