#338254#338254

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

Color values

HEX#338254
RGBrgb(51, 130, 84)
HSLhsl(145, 44%, 35%)
HSVhsv(145, 61%, 51%)
CMYKcmyk(60.8%, 0%, 35.4%, 49%)
CIE-LABlab(48.65, -35.37, 17.89)
CIE-LCHlch(48.65, 39.64, 153.17°)
OKLaboklab(54.51% -0.0961 0.045)
OKLCHoklch(54.51% 0.106 154.9)
XYZxyz(10.9472, 17.3081, 11.1497)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338254 #823361
analogous
#3A8233 #338254 #33827B
triadic
#338254 #543382 #825433
tetradic
#338254 #333A82 #823361 #827B33
square
#338254 #333A82 #823361 #827B33
split-complementary
#338254 #7B3382 #82333A
monochromatic
#112A1B #225638 #338254 #44AE70 #6BC590

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338254#FFFFFF#000000##FFFFFF
##3382541.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)
#827851
Deuteranopia (green-blind)
#777157
Tritanopia (blue-blind)
#178176
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338254;
/* rgb */ color: rgb(51, 130, 84);
/* oklch */ color: oklch(54.5% 0.106 154.9);
Tailwind
colors: {
  custom: {
    50: '#73a784',
    500: '#338254',
    950: '#000000',
  },
}
SCSS
$custom: #338254;
$custom-light: #73a784;
$custom-dark: #000000;
JSON
{
  "hex": "#338254",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 84
  },
  "hsl": {
    "h": 145.063,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.10611,
    "h": 154.9
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#338254
secondary
#AD648E
accent
#549ED3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #338254

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

Preview Lab → · Contrast checker → · Palette generator →

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