#338437#338437

#338437 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.138 H 144.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#338437
RGBrgb(51, 132, 55)
HSLhsl(123, 44%, 36%)
HSVhsv(123, 61%, 52%)
CMYKcmyk(61.4%, 0%, 58.3%, 48.2%)
CIE-LABlab(48.86, -41.15, 33.89)
CIE-LCHlch(48.86, 53.31, 140.53°)
OKLaboklab(54.53% -0.1116 0.0804)
OKLCHoklch(54.53% 0.138 144.2)
XYZxyz(10.3055, 17.4812, 6.4448)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338437 #843380
analogous
#578433 #338437 #33845F
triadic
#338437 #373384 #843733
tetradic
#338437 #335784 #843380 #845F33
square
#338437 #335784 #843380 #845F33
split-complementary
#338437 #5F3384 #843357
monochromatic
#112C12 #225825 #338437 #44B049 #6BC670

Accessibility & contrast

On white

4.67
#338437 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#338437 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338437
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338437#FFFFFF#000000##FFFFFF
##3384371.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86782F
Deuteranopia (green-blind)
#7C713D
Tritanopia (blue-blind)
#238173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338437;
/* rgb */ color: rgb(51, 132, 55);
/* oklch */ color: oklch(54.5% 0.138 144.2);
Tailwind
colors: {
  custom: {
    50: '#74a870',
    500: '#338437',
    950: '#000000',
  },
}
SCSS
$custom: #338437;
$custom-light: #74a870;
$custom-dark: #000000;
JSON
{
  "hex": "#338437",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 55
  },
  "hsl": {
    "h": 122.963,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.13759,
    "h": 144.2
  },
  "luminance": 0.17482
}

Semantic roles & 50–950 ramp

primary
#338437
secondary
#AE65AA
accent
#54CED4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338437

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

Preview Lab → · Contrast checker → · Palette generator →

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