#338456#338456

#338456 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.1% C 0.107 H 155.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#338456
RGBrgb(51, 132, 86)
HSLhsl(146, 44%, 36%)
HSVhsv(146, 61%, 52%)
CMYKcmyk(61.4%, 0%, 34.8%, 48.2%)
CIE-LABlab(49.35, -35.84, 17.70)
CIE-LCHlch(49.35, 39.97, 153.72°)
OKLaboklab(55.09% -0.0974 0.0446)
OKLCHoklch(55.09% 0.107 155.4)
XYZxyz(11.2953, 17.8771, 11.6577)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338456 #843361
analogous
#388433 #338456 #33847E
triadic
#338456 #563384 #845633
tetradic
#338456 #333884 #843361 #847E33
square
#338456 #333884 #843361 #847E33
split-complementary
#338456 #7E3384 #843338
monochromatic
#112C1C #225839 #338456 #44B073 #6BC693

Accessibility & contrast

On white

4.59
#338456 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#338456 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338456
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338456#FFFFFF#000000##FFFFFF
##3384561.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847A53
Deuteranopia (green-blind)
#797259
Tritanopia (blue-blind)
#148378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338456;
/* rgb */ color: rgb(51, 132, 86);
/* oklch */ color: oklch(55.1% 0.107 155.4);
Tailwind
colors: {
  custom: {
    50: '#73a886',
    500: '#338456',
    950: '#000000',
  },
}
SCSS
$custom: #338456;
$custom-light: #73a886;
$custom-dark: #000000;
JSON
{
  "hex": "#338456",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 86
  },
  "hsl": {
    "h": 145.926,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.10712,
    "h": 155.4
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#338456
secondary
#AE658E
accent
#549DD4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338456

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

Preview Lab → · Contrast checker → · Palette generator →

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