#338749#338749

#338749 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.125 H 149.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338749
RGBrgb(51, 135, 73)
HSLhsl(136, 45%, 36%)
HSVhsv(136, 62%, 53%)
CMYKcmyk(62.2%, 0%, 45.9%, 47.1%)
CIE-LABlab(50.11, -39.60, 25.96)
CIE-LCHlch(50.11, 47.35, 146.76°)
OKLaboklab(55.64% -0.107 0.0638)
OKLCHoklch(55.64% 0.125 149.2)
XYZxyz(11.2310, 18.5117, 9.2833)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338749 #873371
analogous
#478733 #338749 #338773
triadic
#338749 #493387 #874933
tetradic
#338749 #334787 #873371 #877333
square
#338749 #334787 #873371 #877333
split-complementary
#338749 #733387 #873347
monochromatic
#112E19 #225B31 #338749 #44B361 #6DC885

Accessibility & contrast

On white

4.47
#338749 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#338749 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338749
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338749#FFFFFF#000000##000000
##3387491.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C44
Deuteranopia (green-blind)
#7D744D
Tritanopia (blue-blind)
#1B8578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338749;
/* rgb */ color: rgb(51, 135, 73);
/* oklch */ color: oklch(55.6% 0.125 149.2);
Tailwind
colors: {
  custom: {
    50: '#74ab7c',
    500: '#338749',
    950: '#000000',
  },
}
SCSS
$custom: #338749;
$custom-light: #74ab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#338749",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 73
  },
  "hsl": {
    "h": 135.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55644,
    "c": 0.12458,
    "h": 149.2
  },
  "luminance": 0.18513
}

Semantic roles & 50–950 ramp

primary
#338749
secondary
#B0669C
accent
#53B3D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338749

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

Preview Lab → · Contrast checker → · Palette generator →

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