#338259#338259

#338259 is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.6% C 0.101 H 157.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338259
RGBrgb(51, 130, 89)
HSLhsl(149, 44%, 35%)
HSVhsv(149, 61%, 51%)
CMYKcmyk(60.8%, 0%, 31.5%, 49%)
CIE-LABlab(48.75, -34.32, 15.17)
CIE-LCHlch(48.75, 37.52, 156.16°)
OKLaboklab(54.62% -0.0936 0.0384)
OKLCHoklch(54.62% 0.101 157.7)
XYZxyz(11.1501, 17.3893, 12.2181)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338259 #82335C
analogous
#348233 #338259 #338280
triadic
#338259 #593382 #825933
tetradic
#338259 #333482 #82335C #828033
square
#338259 #333482 #82335C #828033
split-complementary
#338259 #803382 #823334
monochromatic
#112A1D #22563B #338259 #44AE77 #6BC596

Accessibility & contrast

On white

4.69
#338259 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#338259 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338259
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338259#FFFFFF#000000##FFFFFF
##3382591.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817857
Deuteranopia (green-blind)
#76715C
Tritanopia (blue-blind)
#138177
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338259;
/* rgb */ color: rgb(51, 130, 89);
/* oklch */ color: oklch(54.6% 0.101 157.7);
Tailwind
colors: {
  custom: {
    50: '#73a788',
    500: '#338259',
    950: '#000000',
  },
}
SCSS
$custom: #338259;
$custom-light: #73a788;
$custom-dark: #000000;
JSON
{
  "hex": "#338259",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 89
  },
  "hsl": {
    "h": 148.861,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.1012,
    "h": 157.7
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#338259
secondary
#AD648A
accent
#5496D3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #338259

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

Preview Lab → · Contrast checker → · Palette generator →

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