#338255#338255

#338255 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.5% C 0.105 H 155.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338255
RGBrgb(51, 130, 85)
HSLhsl(146, 44%, 35%)
HSVhsv(146, 61%, 51%)
CMYKcmyk(60.8%, 0%, 34.6%, 49%)
CIE-LABlab(48.67, -35.17, 17.35)
CIE-LCHlch(48.67, 39.21, 153.75°)
OKLaboklab(54.53% -0.0956 0.0437)
OKLCHoklch(54.53% 0.105 155.4)
XYZxyz(10.9867, 17.3239, 11.3574)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338255 #823360
analogous
#388233 #338255 #33827C
triadic
#338255 #553382 #825533
tetradic
#338255 #333882 #823360 #827C33
square
#338255 #333882 #823360 #827C33
split-complementary
#338255 #7C3382 #823338
monochromatic
#112A1C #225638 #338255 #44AE72 #6BC591

Accessibility & contrast

On white

4.70
#338255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#338255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338255
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338255#FFFFFF#000000##FFFFFF
##3382551.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827852
Deuteranopia (green-blind)
#777158
Tritanopia (blue-blind)
#168176
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338255;
/* rgb */ color: rgb(51, 130, 85);
/* oklch */ color: oklch(54.5% 0.105 155.4);
Tailwind
colors: {
  custom: {
    50: '#73a785',
    500: '#338255',
    950: '#000000',
  },
}
SCSS
$custom: #338255;
$custom-light: #73a785;
$custom-dark: #000000;
JSON
{
  "hex": "#338255",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 145.823,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.10512,
    "h": 155.4
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#338255
secondary
#AD648D
accent
#549DD3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #338255

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

Preview Lab → · Contrast checker → · Palette generator →

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