#338651#338651

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

Color values

HEX#338651
RGBrgb(51, 134, 81)
HSLhsl(142, 45%, 36%)
HSVhsv(142, 62%, 53%)
CMYKcmyk(61.9%, 0%, 39.6%, 47.5%)
CIE-LABlab(49.91, -37.72, 21.28)
CIE-LCHlch(49.91, 43.31, 150.57°)
OKLaboklab(55.53% -0.1021 0.0531)
OKLCHoklch(55.53% 0.115 152.5)
XYZxyz(11.3746, 18.3470, 10.7249)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338651 #863368
analogous
#3F8633 #338651 #33867B
triadic
#338651 #513386 #865133
tetradic
#338651 #333F86 #863368 #867B33
square
#338651 #333F86 #863368 #867B33
split-complementary
#338651 #7B3386 #86333F
monochromatic
#112D1B #225A36 #338651 #44B26C #6CC78D

Accessibility & contrast

On white

4.50
#338651 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338651#FFFFFF#000000##000000
##3386511.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4D
Deuteranopia (green-blind)
#7B7454
Tritanopia (blue-blind)
#178479
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338651;
/* rgb */ color: rgb(51, 134, 81);
/* oklch */ color: oklch(55.5% 0.115 152.5);
Tailwind
colors: {
  custom: {
    50: '#73aa82',
    500: '#338651',
    950: '#000000',
  },
}
SCSS
$custom: #338651;
$custom-light: #73aa82;
$custom-dark: #000000;
JSON
{
  "hex": "#338651",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 81
  },
  "hsl": {
    "h": 141.687,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55527,
    "c": 0.11508,
    "h": 152.5
  },
  "luminance": 0.18348
}

Semantic roles & 50–950 ramp

primary
#338651
secondary
#AF6695
accent
#53A6D5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338651

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

Preview Lab → · Contrast checker → · Palette generator →

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