#338753#338753

#338753 is a mid, moderate green. Relative luminance 0.187; OKLCH L 55.8% C 0.115 H 153.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#338753
RGBrgb(51, 135, 83)
HSLhsl(143, 45%, 36%)
HSVhsv(143, 62%, 53%)
CMYKcmyk(62.2%, 0%, 38.5%, 47.1%)
CIE-LABlab(50.28, -37.76, 20.65)
CIE-LCHlch(50.28, 43.03, 151.33°)
OKLaboklab(55.84% -0.1023 0.0516)
OKLCHoklch(55.84% 0.115 153.2)
XYZxyz(11.5896, 18.6552, 11.1720)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338753 #873367
analogous
#3D8733 #338753 #33877D
triadic
#338753 #533387 #875333
tetradic
#338753 #333D87 #873367 #877D33
square
#338753 #333D87 #873367 #877D33
split-complementary
#338753 #7D3387 #87333D
monochromatic
#112E1C #225B38 #338753 #44B36E #6DC88F

Accessibility & contrast

On white

4.44
#338753 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#338753 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338753
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338753#FFFFFF#000000##000000
##3387531.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C50
Deuteranopia (green-blind)
#7C7556
Tritanopia (blue-blind)
#15857A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338753;
/* rgb */ color: rgb(51, 135, 83);
/* oklch */ color: oklch(55.8% 0.115 153.2);
Tailwind
colors: {
  custom: {
    50: '#74ab84',
    500: '#338753',
    950: '#000000',
  },
}
SCSS
$custom: #338753;
$custom-light: #74ab84;
$custom-dark: #000000;
JSON
{
  "hex": "#338753",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 83
  },
  "hsl": {
    "h": 142.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.11455,
    "h": 153.2
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#338753
secondary
#B06694
accent
#53A3D5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338753

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

Preview Lab → · Contrast checker → · Palette generator →

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