#338523#338523

#338523 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.155 H 140.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#338523
RGBrgb(51, 133, 35)
HSLhsl(110, 58%, 33%)
HSVhsv(110, 74%, 52%)
CMYKcmyk(61.7%, 0%, 73.7%, 47.8%)
CIE-LABlab(49.01, -43.72, 43.15)
CIE-LCHlch(49.01, 61.43, 135.37°)
OKLaboklab(54.59% -0.1197 0.0979)
OKLCHoklch(54.59% 0.155 140.7)
XYZxyz(10.0557, 17.5993, 4.4569)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338523 #752385
analogous
#648523 #338523 #238544
triadic
#338523 #233385 #852333
tetradic
#338523 #236485 #752385 #854423
square
#338523 #236485 #752385 #854423
split-complementary
#338523 #442385 #852364
monochromatic
#0E2409 #205516 #338523 #46B530 #66D151

Accessibility & contrast

On white

4.65
#338523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#338523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338523
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338523#FFFFFF#000000##FFFFFF
##3385231.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#278172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338523;
/* rgb */ color: rgb(51, 133, 35);
/* oklch */ color: oklch(54.6% 0.155 140.7);
Tailwind
colors: {
  custom: {
    50: '#75a964',
    500: '#338523',
    950: '#000000',
  },
}
SCSS
$custom: #338523;
$custom-light: #75a964;
$custom-dark: #000000;
JSON
{
  "hex": "#338523",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 110.204,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.15465,
    "h": 140.7
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#338523
secondary
#A44FB5
accent
#46E2C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338523

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

Preview Lab → · Contrast checker → · Palette generator →

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