#338652#338652

#338652 is a mid, moderate green. Relative luminance 0.184; OKLCH L 55.5% C 0.114 H 153.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#338652
RGBrgb(51, 134, 82)
HSLhsl(142, 45%, 36%)
HSVhsv(142, 62%, 53%)
CMYKcmyk(61.9%, 0%, 38.8%, 47.5%)
CIE-LABlab(49.93, -37.52, 20.74)
CIE-LCHlch(49.93, 42.87, 151.06°)
OKLaboklab(55.55% -0.1016 0.0518)
OKLCHoklch(55.55% 0.114 153)
XYZxyz(11.4124, 18.3621, 10.9238)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338652 #863367
analogous
#3E8633 #338652 #33867C
triadic
#338652 #523386 #865233
tetradic
#338652 #333E86 #863367 #867C33
square
#338652 #333E86 #863367 #867C33
split-complementary
#338652 #7C3386 #86333E
monochromatic
#112D1C #225A37 #338652 #44B26D #6CC78E

Accessibility & contrast

On white

4.49
#338652 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#338652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338652
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338652#FFFFFF#000000##000000
##3386521.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4E
Deuteranopia (green-blind)
#7B7455
Tritanopia (blue-blind)
#168479
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338652;
/* rgb */ color: rgb(51, 134, 82);
/* oklch */ color: oklch(55.5% 0.114 153.0);
Tailwind
colors: {
  custom: {
    50: '#73aa83',
    500: '#338652',
    950: '#000000',
  },
}
SCSS
$custom: #338652;
$custom-light: #73aa83;
$custom-dark: #000000;
JSON
{
  "hex": "#338652",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 82
  },
  "hsl": {
    "h": 142.41,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.11408,
    "h": 153
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#338652
secondary
#AF6694
accent
#53A4D5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338652

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

Preview Lab → · Contrast checker → · Palette generator →

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