#338454#338454

#338454 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.0% C 0.109 H 154.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#338454
RGBrgb(51, 132, 84)
HSLhsl(144, 44%, 36%)
HSVhsv(144, 61%, 52%)
CMYKcmyk(61.4%, 0%, 36.4%, 48.2%)
CIE-LABlab(49.31, -36.25, 18.78)
CIE-LCHlch(49.31, 40.83, 152.61°)
OKLaboklab(55.05% -0.0984 0.0472)
OKLCHoklch(55.05% 0.109 154.4)
XYZxyz(11.2158, 17.8453, 11.2392)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338454 #843363
analogous
#3B8433 #338454 #33847C
triadic
#338454 #543384 #845433
tetradic
#338454 #333B84 #843363 #847C33
square
#338454 #333B84 #843363 #847C33
split-complementary
#338454 #7C3384 #84333B
monochromatic
#112C1C #225838 #338454 #44B070 #6BC690

Accessibility & contrast

On white

4.60
#338454 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#338454 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338454
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338454#FFFFFF#000000##FFFFFF
##3384541.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847A51
Deuteranopia (green-blind)
#797257
Tritanopia (blue-blind)
#168378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338454;
/* rgb */ color: rgb(51, 132, 84);
/* oklch */ color: oklch(55.0% 0.109 154.4);
Tailwind
colors: {
  custom: {
    50: '#73a884',
    500: '#338454',
    950: '#000000',
  },
}
SCSS
$custom: #338454;
$custom-light: #73a884;
$custom-dark: #000000;
JSON
{
  "hex": "#338454",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 84
  },
  "hsl": {
    "h": 144.444,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55048,
    "c": 0.1091,
    "h": 154.4
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#338454
secondary
#AE6590
accent
#54A0D4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338454

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

Preview Lab → · Contrast checker → · Palette generator →

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