#338243#338243

#338243 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.2% C 0.123 H 147.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#338243
RGBrgb(51, 130, 67)
HSLhsl(132, 44%, 35%)
HSVhsv(132, 61%, 51%)
CMYKcmyk(60.8%, 0%, 48.5%, 49%)
CIE-LABlab(48.35, -38.54, 26.98)
CIE-LCHlch(48.35, 47.04, 145.00°)
OKLaboklab(54.17% -0.1042 0.0659)
OKLCHoklch(54.17% 0.123 147.7)
XYZxyz(10.3603, 17.0734, 8.0586)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338243 #823372
analogous
#4A8233 #338243 #33826A
triadic
#338243 #433382 #824333
tetradic
#338243 #334A82 #823372 #826A33
square
#338243 #334A82 #823372 #826A33
split-complementary
#338243 #6A3382 #82334A
monochromatic
#112A16 #22562C #338243 #44AE5A #6BC57D

Accessibility & contrast

On white

4.76
#338243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#338243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338243
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338243#FFFFFF#000000##FFFFFF
##3382431.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773E
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#207F73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338243;
/* rgb */ color: rgb(51, 130, 67);
/* oklch */ color: oklch(54.2% 0.123 147.7);
Tailwind
colors: {
  custom: {
    50: '#73a778',
    500: '#338243',
    950: '#000000',
  },
}
SCSS
$custom: #338243;
$custom-light: #73a778;
$custom-dark: #000000;
JSON
{
  "hex": "#338243",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 67
  },
  "hsl": {
    "h": 132.152,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54168,
    "c": 0.12328,
    "h": 147.7
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#338243
secondary
#AD649E
accent
#54BAD3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #338243

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

Preview Lab → · Contrast checker → · Palette generator →

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