#338336#338336

#338336 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.137 H 144.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#338336
RGBrgb(51, 131, 54)
HSLhsl(122, 44%, 36%)
HSVhsv(122, 61%, 51%)
CMYKcmyk(61.1%, 0%, 58.8%, 48.6%)
CIE-LABlab(48.51, -40.88, 33.98)
CIE-LCHlch(48.51, 53.16, 140.27°)
OKLaboklab(54.24% -0.1109 0.0806)
OKLCHoklch(54.24% 0.137 144)
XYZxyz(10.1468, 17.2018, 6.2749)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338336 #833380
analogous
#588333 #338336 #33835E
triadic
#338336 #363383 #833633
tetradic
#338336 #335883 #833380 #835E33
square
#338336 #335883 #833380 #835E33
split-complementary
#338336 #5E3383 #833358
monochromatic
#112B12 #225724 #338336 #44AF48 #6BC56E

Accessibility & contrast

On white

4.73
#338336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#338336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338336
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338336#FFFFFF#000000##FFFFFF
##3383361.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#7B713C
Tritanopia (blue-blind)
#248072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338336;
/* rgb */ color: rgb(51, 131, 54);
/* oklch */ color: oklch(54.2% 0.137 144.0);
Tailwind
colors: {
  custom: {
    50: '#74a86f',
    500: '#338336',
    950: '#000000',
  },
}
SCSS
$custom: #338336;
$custom-light: #74a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#338336",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 122.25,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54244,
    "c": 0.13711,
    "h": 144
  },
  "luminance": 0.17203
}

Semantic roles & 50–950 ramp

primary
#338336
secondary
#AD65AB
accent
#54CFD4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338336

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

Preview Lab → · Contrast checker → · Palette generator →

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