#338052#338052

#338052 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.105 H 154.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#338052
RGBrgb(51, 128, 82)
HSLhsl(144, 43%, 35%)
HSVhsv(144, 60%, 50%)
CMYKcmyk(60.2%, 0%, 35.9%, 49.8%)
CIE-LABlab(47.94, -34.90, 18.08)
CIE-LCHlch(47.94, 39.31, 152.61°)
OKLaboklab(53.92% -0.0948 0.0455)
OKLCHoklch(53.92% 0.105 154.4)
XYZxyz(10.6065, 16.7503, 10.6552)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338052 #803361
analogous
#3A8033 #338052 #338079
triadic
#338052 #523380 #805233
tetradic
#338052 #333A80 #803361 #807933
square
#338052 #333A80 #803361 #807933
split-complementary
#338052 #793380 #80333A
monochromatic
#10281A #225436 #338052 #44AC6E #6AC48E

Accessibility & contrast

On white

4.83
#338052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#338052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338052
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338052#FFFFFF#000000##FFFFFF
##3380521.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764F
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#197F74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338052;
/* rgb */ color: rgb(51, 128, 82);
/* oklch */ color: oklch(53.9% 0.105 154.4);
Tailwind
colors: {
  custom: {
    50: '#72a583',
    500: '#338052',
    950: '#000000',
  },
}
SCSS
$custom: #338052;
$custom-light: #72a583;
$custom-dark: #000000;
JSON
{
  "hex": "#338052",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 82
  },
  "hsl": {
    "h": 144.156,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.1051,
    "h": 154.4
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#338052
secondary
#AB638E
accent
#55A0D3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #338052

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

Preview Lab → · Contrast checker → · Palette generator →

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