#338154#338154

#338154 is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.2% C 0.105 H 155.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#338154
RGBrgb(51, 129, 84)
HSLhsl(145, 43%, 35%)
HSVhsv(145, 60%, 51%)
CMYKcmyk(60.5%, 0%, 34.9%, 49.4%)
CIE-LABlab(48.31, -34.93, 17.44)
CIE-LCHlch(48.31, 39.04, 153.47°)
OKLaboklab(54.23% -0.0949 0.0439)
OKLCHoklch(54.23% 0.105 155.2)
XYZxyz(10.8148, 17.0434, 11.1056)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338154 #813360
analogous
#398133 #338154 #33817B
triadic
#338154 #543381 #815433
tetradic
#338154 #333981 #813360 #817B33
square
#338154 #333981 #813360 #817B33
split-complementary
#338154 #7B3381 #813339
monochromatic
#10291B #225537 #338154 #44AD71 #6AC490

Accessibility & contrast

On white

4.76
#338154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#338154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338154
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338154#FFFFFF#000000##FFFFFF
##3381541.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817751
Deuteranopia (green-blind)
#767057
Tritanopia (blue-blind)
#188075
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338154;
/* rgb */ color: rgb(51, 129, 84);
/* oklch */ color: oklch(54.2% 0.105 155.2);
Tailwind
colors: {
  custom: {
    50: '#72a684',
    500: '#338154',
    950: '#000000',
  },
}
SCSS
$custom: #338154;
$custom-light: #72a684;
$custom-dark: #000000;
JSON
{
  "hex": "#338154",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 84
  },
  "hsl": {
    "h": 145.385,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.10461,
    "h": 155.2
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#338154
secondary
#AC648D
accent
#559ED3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #338154

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

Preview Lab → · Contrast checker → · Palette generator →

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