#338337#338337

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

Color values

HEX#338337
RGBrgb(51, 131, 55)
HSLhsl(123, 44%, 36%)
HSVhsv(123, 61%, 51%)
CMYKcmyk(61.1%, 0%, 58%, 48.6%)
CIE-LABlab(48.53, -40.75, 33.49)
CIE-LCHlch(48.53, 52.74, 140.59°)
OKLaboklab(54.26% -0.1105 0.0796)
OKLCHoklch(54.26% 0.136 144.2)
XYZxyz(10.1705, 17.2113, 6.3998)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338337 #83337F
analogous
#578333 #338337 #33835F
triadic
#338337 #373383 #833733
tetradic
#338337 #335783 #83337F #835F33
square
#338337 #335783 #83337F #835F33
split-complementary
#338337 #5F3383 #833357
monochromatic
#112B12 #225725 #338337 #44AF49 #6BC570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338337#FFFFFF#000000##FFFFFF
##3383371.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)
#857730
Deuteranopia (green-blind)
#7B713D
Tritanopia (blue-blind)
#248072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338337;
/* rgb */ color: rgb(51, 131, 55);
/* oklch */ color: oklch(54.3% 0.136 144.2);
Tailwind
colors: {
  custom: {
    50: '#74a870',
    500: '#338337',
    950: '#000000',
  },
}
SCSS
$custom: #338337;
$custom-light: #74a870;
$custom-dark: #000000;
JSON
{
  "hex": "#338337",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 123,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54257,
    "c": 0.1362,
    "h": 144.2
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#338337
secondary
#AD65AA
accent
#54CDD4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338337

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

Preview Lab → · Contrast checker → · Palette generator →

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