#338252#338252

#338252 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.5% C 0.108 H 153.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#338252
RGBrgb(51, 130, 82)
HSLhsl(144, 44%, 35%)
HSVhsv(144, 61%, 51%)
CMYKcmyk(60.8%, 0%, 36.9%, 49%)
CIE-LABlab(48.61, -35.78, 18.98)
CIE-LCHlch(48.61, 40.50, 152.06°)
OKLaboklab(54.46% -0.0971 0.0476)
OKLCHoklch(54.46% 0.108 153.9)
XYZxyz(10.8700, 17.2772, 10.7430)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338252 #823363
analogous
#3C8233 #338252 #338279
triadic
#338252 #523382 #825233
tetradic
#338252 #333C82 #823363 #827933
square
#338252 #333C82 #823363 #827933
split-complementary
#338252 #793382 #82333C
monochromatic
#112A1B #225636 #338252 #44AE6E #6BC58E

Accessibility & contrast

On white

4.71
#338252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#338252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338252
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338252#FFFFFF#000000##FFFFFF
##3382521.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784F
Deuteranopia (green-blind)
#777055
Tritanopia (blue-blind)
#188076
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338252;
/* rgb */ color: rgb(51, 130, 82);
/* oklch */ color: oklch(54.5% 0.108 153.9);
Tailwind
colors: {
  custom: {
    50: '#73a783',
    500: '#338252',
    950: '#000000',
  },
}
SCSS
$custom: #338252;
$custom-light: #73a783;
$custom-dark: #000000;
JSON
{
  "hex": "#338252",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 143.544,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.10811,
    "h": 153.9
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#338252
secondary
#AD6490
accent
#54A2D3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #338252

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

Preview Lab → · Contrast checker → · Palette generator →

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