#338451#338451

#338451 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.0% C 0.112 H 152.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#338451
RGBrgb(51, 132, 81)
HSLhsl(142, 44%, 36%)
HSVhsv(142, 61%, 52%)
CMYKcmyk(61.4%, 0%, 38.6%, 48.2%)
CIE-LABlab(49.25, -36.85, 20.40)
CIE-LCHlch(49.25, 42.12, 151.03°)
OKLaboklab(54.98% -0.0998 0.051)
OKLCHoklch(54.98% 0.112 152.9)
XYZxyz(11.1008, 17.7993, 10.6336)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338451 #843366
analogous
#3D8433 #338451 #338479
triadic
#338451 #513384 #845133
tetradic
#338451 #333D84 #843366 #847933
square
#338451 #333D84 #843366 #847933
split-complementary
#338451 #793384 #84333D
monochromatic
#112C1B #225836 #338451 #44B06C #6BC68D

Accessibility & contrast

On white

4.61
#338451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#338451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338451
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338451#FFFFFF#000000##FFFFFF
##3384511.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847A4E
Deuteranopia (green-blind)
#797254
Tritanopia (blue-blind)
#188277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338451;
/* rgb */ color: rgb(51, 132, 81);
/* oklch */ color: oklch(55.0% 0.112 152.9);
Tailwind
colors: {
  custom: {
    50: '#73a882',
    500: '#338451',
    950: '#000000',
  },
}
SCSS
$custom: #338451;
$custom-light: #73a882;
$custom-dark: #000000;
JSON
{
  "hex": "#338451",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 142.222,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.11212,
    "h": 152.9
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#338451
secondary
#AE6593
accent
#54A5D4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338451

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

Preview Lab → · Contrast checker → · Palette generator →

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