#338754#338754

#338754 is a mid, moderate green. Relative luminance 0.187; OKLCH L 55.9% C 0.114 H 153.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#338754
RGBrgb(51, 135, 84)
HSLhsl(144, 45%, 36%)
HSVhsv(144, 62%, 53%)
CMYKcmyk(62.2%, 0%, 37.8%, 47.1%)
CIE-LABlab(50.30, -37.56, 20.11)
CIE-LCHlch(50.30, 42.60, 151.83°)
OKLaboklab(55.86% -0.1018 0.0504)
OKLCHoklch(55.86% 0.114 153.7)
XYZxyz(11.6285, 18.6707, 11.3768)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338754 #873366
analogous
#3C8733 #338754 #33877E
triadic
#338754 #543387 #875433
tetradic
#338754 #333C87 #873366 #877E33
square
#338754 #333C87 #873366 #877E33
split-complementary
#338754 #7E3387 #87333C
monochromatic
#112E1D #225B38 #338754 #44B370 #6DC890

Accessibility & contrast

On white

4.44
#338754 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#338754 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338754
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338754#FFFFFF#000000##000000
##3387541.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C51
Deuteranopia (green-blind)
#7C7557
Tritanopia (blue-blind)
#14857A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338754;
/* rgb */ color: rgb(51, 135, 84);
/* oklch */ color: oklch(55.9% 0.114 153.7);
Tailwind
colors: {
  custom: {
    50: '#74ab84',
    500: '#338754',
    950: '#000000',
  },
}
SCSS
$custom: #338754;
$custom-light: #74ab84;
$custom-dark: #000000;
JSON
{
  "hex": "#338754",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 84
  },
  "hsl": {
    "h": 143.571,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.11355,
    "h": 153.7
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#338754
secondary
#B06693
accent
#53A2D5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338754

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

Preview Lab → · Contrast checker → · Palette generator →

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