#338149#338149

#338149 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.0% C 0.116 H 150.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#338149
RGBrgb(51, 129, 73)
HSLhsl(137, 43%, 35%)
HSVhsv(137, 60%, 51%)
CMYKcmyk(60.5%, 0%, 43.4%, 49.4%)
CIE-LABlab(48.11, -37.07, 23.38)
CIE-LCHlch(48.11, 43.83, 147.76°)
OKLaboklab(54% -0.1003 0.0578)
OKLCHoklch(54% 0.116 150)
XYZxyz(10.4173, 16.8844, 9.0121)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338149 #81336B
analogous
#448133 #338149 #338170
triadic
#338149 #493381 #814933
tetradic
#338149 #334481 #81336B #817033
square
#338149 #334481 #81336B #817033
split-complementary
#338149 #703381 #813344
monochromatic
#102917 #225530 #338149 #44AD62 #6AC484

Accessibility & contrast

On white

4.80
#338149 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#338149 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338149
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338149#FFFFFF#000000##FFFFFF
##3381491.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827745
Deuteranopia (green-blind)
#776F4D
Tritanopia (blue-blind)
#1E7F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338149;
/* rgb */ color: rgb(51, 129, 73);
/* oklch */ color: oklch(54.0% 0.116 150.0);
Tailwind
colors: {
  custom: {
    50: '#73a67c',
    500: '#338149',
    950: '#000000',
  },
}
SCSS
$custom: #338149;
$custom-light: #73a67c;
$custom-dark: #000000;
JSON
{
  "hex": "#338149",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 73
  },
  "hsl": {
    "h": 136.923,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.11575,
    "h": 150
  },
  "luminance": 0.16885
}

Semantic roles & 50–950 ramp

primary
#338149
secondary
#AC6498
accent
#55AFD3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #338149

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

Preview Lab → · Contrast checker → · Palette generator →

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