#338459#338459

#338459 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.2% C 0.104 H 157.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#338459
RGBrgb(51, 132, 89)
HSLhsl(148, 44%, 36%)
HSVhsv(148, 61%, 52%)
CMYKcmyk(61.4%, 0%, 32.6%, 48.2%)
CIE-LABlab(49.41, -35.21, 16.07)
CIE-LCHlch(49.41, 38.70, 155.47°)
OKLaboklab(55.16% -0.0959 0.0407)
OKLCHoklch(55.16% 0.104 157)
XYZxyz(11.4187, 17.9265, 12.3077)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338459 #84335E
analogous
#358433 #338459 #338481
triadic
#338459 #593384 #845933
tetradic
#338459 #333584 #84335E #848133
square
#338459 #333584 #84335E #848133
split-complementary
#338459 #813384 #843335
monochromatic
#112C1D #22583B #338459 #44B077 #6BC696

Accessibility & contrast

On white

4.58
#338459 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#338459 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338459
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338459#FFFFFF#000000##000000
##3384591.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A56
Deuteranopia (green-blind)
#78725C
Tritanopia (blue-blind)
#128379
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338459;
/* rgb */ color: rgb(51, 132, 89);
/* oklch */ color: oklch(55.2% 0.104 157.0);
Tailwind
colors: {
  custom: {
    50: '#73a888',
    500: '#338459',
    950: '#000000',
  },
}
SCSS
$custom: #338459;
$custom-light: #73a888;
$custom-dark: #000000;
JSON
{
  "hex": "#338459",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 89
  },
  "hsl": {
    "h": 148.148,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55161,
    "c": 0.10417,
    "h": 157
  },
  "luminance": 0.17928
}

Semantic roles & 50–950 ramp

primary
#338459
secondary
#AE658C
accent
#5498D4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338459

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

Preview Lab → · Contrast checker → · Palette generator →

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