#338045#338045

#338045 is a mid, moderate green. Relative luminance 0.166; OKLCH L 53.7% C 0.118 H 148.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#338045
RGBrgb(51, 128, 69)
HSLhsl(134, 43%, 35%)
HSVhsv(134, 60%, 50%)
CMYKcmyk(60.2%, 0%, 46.1%, 49.8%)
CIE-LABlab(47.71, -37.35, 25.08)
CIE-LCHlch(47.71, 44.99, 146.12°)
OKLaboklab(53.65% -0.101 0.0616)
OKLCHoklch(53.65% 0.118 148.6)
XYZxyz(10.1579, 16.5709, 8.2923)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338045 #80336E
analogous
#478033 #338045 #33806C
triadic
#338045 #453380 #804533
tetradic
#338045 #334780 #80336E #806C33
square
#338045 #334780 #80336E #806C33
split-complementary
#338045 #6C3380 #803347
monochromatic
#102816 #22542D #338045 #44AC5D #6AC47F

Accessibility & contrast

On white

4.87
#338045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#338045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338045
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338045#FFFFFF#000000##FFFFFF
##3380451.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817541
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#207E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338045;
/* rgb */ color: rgb(51, 128, 69);
/* oklch */ color: oklch(53.7% 0.118 148.6);
Tailwind
colors: {
  custom: {
    50: '#73a579',
    500: '#338045',
    950: '#000000',
  },
}
SCSS
$custom: #338045;
$custom-light: #73a579;
$custom-dark: #000000;
JSON
{
  "hex": "#338045",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 69
  },
  "hsl": {
    "h": 134.026,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53654,
    "c": 0.11833,
    "h": 148.6
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#338045
secondary
#AB639B
accent
#55B5D3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #338045

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

Preview Lab → · Contrast checker → · Palette generator →

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