#338043#338043

#338043 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.120 H 147.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#338043
RGBrgb(51, 128, 67)
HSLhsl(132, 43%, 35%)
HSVhsv(132, 60%, 50%)
CMYKcmyk(60.2%, 0%, 47.7%, 49.8%)
CIE-LABlab(47.68, -37.70, 26.13)
CIE-LCHlch(47.68, 45.87, 145.27°)
OKLaboklab(53.62% -0.102 0.0639)
OKLCHoklch(53.62% 0.12 147.9)
XYZxyz(10.0969, 16.5465, 7.9708)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338043 #803370
analogous
#498033 #338043 #33806A
triadic
#338043 #433380 #804333
tetradic
#338043 #334980 #803370 #806A33
square
#338043 #334980 #803370 #806A33
split-complementary
#338043 #6A3380 #803349
monochromatic
#102815 #22542C #338043 #44AC5A #6AC47C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338043#FFFFFF#000000##FFFFFF
##3380431.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)
#81753E
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#217D71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338043;
/* rgb */ color: rgb(51, 128, 67);
/* oklch */ color: oklch(53.6% 0.120 147.9);
Tailwind
colors: {
  custom: {
    50: '#73a578',
    500: '#338043',
    950: '#000000',
  },
}
SCSS
$custom: #338043;
$custom-light: #73a578;
$custom-dark: #000000;
JSON
{
  "hex": "#338043",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 132.468,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.12034,
    "h": 147.9
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#338043
secondary
#AB639C
accent
#55B9D3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #338043

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

Preview Lab → · Contrast checker → · Palette generator →

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