#338145#338145

#338145 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.120 H 148.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#338145
RGBrgb(51, 129, 69)
HSLhsl(134, 43%, 35%)
HSVhsv(134, 60%, 51%)
CMYKcmyk(60.5%, 0%, 46.5%, 49.4%)
CIE-LABlab(48.05, -37.78, 25.51)
CIE-LCHlch(48.05, 45.58, 145.98°)
OKLaboklab(53.93% -0.1022 0.0626)
OKLCHoklch(53.93% 0.12 148.5)
XYZxyz(10.2890, 16.8330, 8.3360)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338145 #81336F
analogous
#488133 #338145 #33816C
triadic
#338145 #453381 #814533
tetradic
#338145 #334881 #81336F #816C33
square
#338145 #334881 #81336F #816C33
split-complementary
#338145 #6C3381 #813348
monochromatic
#102916 #22552E #338145 #44AD5C #6AC47F

Accessibility & contrast

On white

4.81
#338145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#338145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338145
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338145#FFFFFF#000000##FFFFFF
##3381451.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827640
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#207F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338145;
/* rgb */ color: rgb(51, 129, 69);
/* oklch */ color: oklch(53.9% 0.120 148.5);
Tailwind
colors: {
  custom: {
    50: '#73a679',
    500: '#338145',
    950: '#000000',
  },
}
SCSS
$custom: #338145;
$custom-light: #73a679;
$custom-dark: #000000;
JSON
{
  "hex": "#338145",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 133.846,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53928,
    "c": 0.1198,
    "h": 148.5
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#338145
secondary
#AC649B
accent
#55B6D3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #338145

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

Preview Lab → · Contrast checker → · Palette generator →

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