#338546#338546

#338546 is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.0% C 0.125 H 148.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#338546
RGBrgb(51, 133, 70)
HSLhsl(134, 45%, 36%)
HSVhsv(134, 62%, 52%)
CMYKcmyk(61.7%, 0%, 47.4%, 47.8%)
CIE-LABlab(49.40, -39.29, 26.68)
CIE-LCHlch(49.40, 47.49, 145.82°)
OKLaboklab(55.04% -0.1062 0.0653)
OKLCHoklch(55.04% 0.125 148.4)
XYZxyz(10.8575, 17.9200, 8.6799)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338546 #853372
analogous
#498533 #338546 #33856F
triadic
#338546 #463385 #854633
tetradic
#338546 #334985 #853372 #856F33
square
#338546 #334985 #853372 #856F33
split-complementary
#338546 #6F3385 #853349
monochromatic
#112D17 #22592F #338546 #44B15D #6CC781

Accessibility & contrast

On white

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

On black

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

Best text color

#000000 on #338546
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338546#FFFFFF#000000##000000
##3385461.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867A41
Deuteranopia (green-blind)
#7C734A
Tritanopia (blue-blind)
#1D8276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338546;
/* rgb */ color: rgb(51, 133, 70);
/* oklch */ color: oklch(55.0% 0.125 148.4);
Tailwind
colors: {
  custom: {
    50: '#73a97a',
    500: '#338546',
    950: '#000000',
  },
}
SCSS
$custom: #338546;
$custom-light: #73a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#338546",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 70
  },
  "hsl": {
    "h": 133.902,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.12466,
    "h": 148.4
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#338546
secondary
#AE659E
accent
#54B6D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338546

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

Preview Lab → · Contrast checker → · Palette generator →

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