#338341#338341

#338341 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.127 H 147.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338341
RGBrgb(51, 131, 65)
HSLhsl(131, 44%, 36%)
HSVhsv(131, 61%, 51%)
CMYKcmyk(61.1%, 0%, 50.4%, 48.6%)
CIE-LABlab(48.66, -39.28, 28.44)
CIE-LCHlch(48.66, 48.49, 144.09°)
OKLaboklab(54.41% -0.1062 0.0691)
OKLCHoklch(54.41% 0.127 147)
XYZxyz(10.4350, 17.3171, 7.7926)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338341 #833375
analogous
#4D8333 #338341 #338369
triadic
#338341 #413383 #834133
tetradic
#338341 #334D83 #833375 #836933
square
#338341 #334D83 #833375 #836933
split-complementary
#338341 #693383 #83334D
monochromatic
#112B15 #22572B #338341 #44AF57 #6BC57B

Accessibility & contrast

On white

4.70
#338341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #338341
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338341#FFFFFF#000000##FFFFFF
##3383411.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783C
Deuteranopia (green-blind)
#7A7146
Tritanopia (blue-blind)
#208074
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338341;
/* rgb */ color: rgb(51, 131, 65);
/* oklch */ color: oklch(54.4% 0.127 147.0);
Tailwind
colors: {
  custom: {
    50: '#73a877',
    500: '#338341',
    950: '#000000',
  },
}
SCSS
$custom: #338341;
$custom-light: #73a877;
$custom-dark: #000000;
JSON
{
  "hex": "#338341",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 130.5,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54409,
    "c": 0.12671,
    "h": 147
  },
  "luminance": 0.17318
}

Semantic roles & 50–950 ramp

primary
#338341
secondary
#AD65A1
accent
#54BDD4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338341

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

Preview Lab → · Contrast checker → · Palette generator →

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