#338450#338450

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

Color values

HEX#338450
RGBrgb(51, 132, 80)
HSLhsl(141, 44%, 36%)
HSVhsv(141, 61%, 52%)
CMYKcmyk(61.4%, 0%, 39.4%, 48.2%)
CIE-LABlab(49.23, -37.05, 20.94)
CIE-LCHlch(49.23, 42.56, 150.53°)
OKLaboklab(54.96% -0.1003 0.0522)
OKLCHoklch(54.96% 0.113 152.5)
XYZxyz(11.0636, 17.7845, 10.4376)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338450 #843367
analogous
#3F8433 #338450 #338478
triadic
#338450 #503384 #845033
tetradic
#338450 #333F84 #843367 #847833
square
#338450 #333F84 #843367 #847833
split-complementary
#338450 #783384 #84333F
monochromatic
#112C1A #225835 #338450 #44B06B #6BC68C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338450#FFFFFF#000000##FFFFFF
##3384501.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)
#847A4C
Deuteranopia (green-blind)
#797253
Tritanopia (blue-blind)
#198277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338450;
/* rgb */ color: rgb(51, 132, 80);
/* oklch */ color: oklch(55.0% 0.113 152.5);
Tailwind
colors: {
  custom: {
    50: '#73a881',
    500: '#338450',
    950: '#000000',
  },
}
SCSS
$custom: #338450;
$custom-light: #73a881;
$custom-dark: #000000;
JSON
{
  "hex": "#338450",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 80
  },
  "hsl": {
    "h": 141.481,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54962,
    "c": 0.11312,
    "h": 152.5
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#338450
secondary
#AE6594
accent
#54A6D4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338450

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

Preview Lab → · Contrast checker → · Palette generator →

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