#338743#338743

#338743 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.131 H 147.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338743
RGBrgb(51, 135, 67)
HSLhsl(131, 45%, 36%)
HSVhsv(131, 62%, 53%)
CMYKcmyk(62.2%, 0%, 50.4%, 47.1%)
CIE-LABlab(50.02, -40.60, 29.08)
CIE-LCHlch(50.02, 49.94, 144.39°)
OKLaboklab(55.54% -0.1098 0.0706)
OKLCHoklch(55.54% 0.131 147.3)
XYZxyz(11.0416, 18.4359, 8.2857)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338743 #873377
analogous
#4D8733 #338743 #33876D
triadic
#338743 #433387 #874333
tetradic
#338743 #334D87 #873377 #876D33
square
#338743 #334D87 #873377 #876D33
split-complementary
#338743 #6D3387 #87334D
monochromatic
#112E17 #225B2D #338743 #44B359 #6DC87E

Accessibility & contrast

On white

4.48
#338743 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#338743 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338743
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338743#FFFFFF#000000##000000
##3387431.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3D
Deuteranopia (green-blind)
#7E7448
Tritanopia (blue-blind)
#1E8477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338743;
/* rgb */ color: rgb(51, 135, 67);
/* oklch */ color: oklch(55.5% 0.131 147.3);
Tailwind
colors: {
  custom: {
    50: '#74ab78',
    500: '#338743',
    950: '#000000',
  },
}
SCSS
$custom: #338743;
$custom-light: #74ab78;
$custom-dark: #000000;
JSON
{
  "hex": "#338743",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 67
  },
  "hsl": {
    "h": 131.429,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.1305,
    "h": 147.3
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#338743
secondary
#B066A2
accent
#53BCD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338743

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

Preview Lab → · Contrast checker → · Palette generator →

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