#338442#338442

#338442 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.7% C 0.127 H 147.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#338442
RGBrgb(51, 132, 66)
HSLhsl(131, 44%, 36%)
HSVhsv(131, 61%, 52%)
CMYKcmyk(61.4%, 0%, 50%, 48.2%)
CIE-LABlab(49.01, -39.53, 28.34)
CIE-LCHlch(49.01, 48.64, 144.36°)
OKLaboklab(54.7% -0.1069 0.0689)
OKLCHoklch(54.7% 0.127 147.2)
XYZxyz(10.5992, 17.5987, 7.9915)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338442 #843375
analogous
#4C8433 #338442 #33846A
triadic
#338442 #423384 #844233
tetradic
#338442 #334C84 #843375 #846A33
square
#338442 #334C84 #843375 #846A33
split-complementary
#338442 #6A3384 #84334C
monochromatic
#112C16 #22582C #338442 #44B058 #6BC67C

Accessibility & contrast

On white

4.65
#338442 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#338442 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338442
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338442#FFFFFF#000000##FFFFFF
##3384421.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#7B7247
Tritanopia (blue-blind)
#208174
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338442;
/* rgb */ color: rgb(51, 132, 66);
/* oklch */ color: oklch(54.7% 0.127 147.2);
Tailwind
colors: {
  custom: {
    50: '#73a877',
    500: '#338442',
    950: '#000000',
  },
}
SCSS
$custom: #338442;
$custom-light: #73a877;
$custom-dark: #000000;
JSON
{
  "hex": "#338442",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 66
  },
  "hsl": {
    "h": 131.111,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.547,
    "c": 0.12717,
    "h": 147.2
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#338442
secondary
#AE65A0
accent
#54BCD4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338442

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

Preview Lab → · Contrast checker → · Palette generator →

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