#338552#338552

#338552 is a mid, moderate green. Relative luminance 0.181; OKLCH L 55.3% C 0.113 H 153.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#338552
RGBrgb(51, 133, 82)
HSLhsl(143, 45%, 36%)
HSVhsv(143, 62%, 52%)
CMYKcmyk(61.7%, 0%, 38.3%, 47.8%)
CIE-LABlab(49.60, -37.09, 20.30)
CIE-LCHlch(49.60, 42.28, 151.30°)
OKLaboklab(55.28% -0.1005 0.0508)
OKLCHoklch(55.28% 0.113 153.2)
XYZxyz(11.2749, 18.0870, 10.8780)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338552 #853366
analogous
#3D8533 #338552 #33857B
triadic
#338552 #523385 #855233
tetradic
#338552 #333D85 #853366 #857B33
square
#338552 #333D85 #853366 #857B33
split-complementary
#338552 #7B3385 #85333D
monochromatic
#112D1B #225937 #338552 #44B16D #6CC78E

Accessibility & contrast

On white

4.55
#338552 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#338552 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338552
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338552#FFFFFF#000000##000000
##3385521.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857B4F
Deuteranopia (green-blind)
#7A7355
Tritanopia (blue-blind)
#178378
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338552;
/* rgb */ color: rgb(51, 133, 82);
/* oklch */ color: oklch(55.3% 0.113 153.2);
Tailwind
colors: {
  custom: {
    50: '#73a983',
    500: '#338552',
    950: '#000000',
  },
}
SCSS
$custom: #338552;
$custom-light: #73a983;
$custom-dark: #000000;
JSON
{
  "hex": "#338552",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 82
  },
  "hsl": {
    "h": 142.683,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55276,
    "c": 0.1126,
    "h": 153.2
  },
  "luminance": 0.18088
}

Semantic roles & 50–950 ramp

primary
#338552
secondary
#AE6593
accent
#54A4D4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338552

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

Preview Lab → · Contrast checker → · Palette generator →

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