#338452#338452

#338452 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.0% C 0.111 H 153.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#338452
RGBrgb(51, 132, 82)
HSLhsl(143, 44%, 36%)
HSVhsv(143, 61%, 52%)
CMYKcmyk(61.4%, 0%, 37.9%, 48.2%)
CIE-LABlab(49.27, -36.66, 19.86)
CIE-LCHlch(49.27, 41.69, 151.55°)
OKLaboklab(55% -0.0994 0.0497)
OKLCHoklch(55% 0.111 153.4)
XYZxyz(11.1386, 17.8145, 10.8325)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338452 #843365
analogous
#3C8433 #338452 #33847A
triadic
#338452 #523384 #845233
tetradic
#338452 #333C84 #843365 #847A33
square
#338452 #333C84 #843365 #847A33
split-complementary
#338452 #7A3384 #84333C
monochromatic
#112C1B #225837 #338452 #44B06D #6BC68E

Accessibility & contrast

On white

4.60
#338452 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#338452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338452
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338452#FFFFFF#000000##FFFFFF
##3384521.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847A4F
Deuteranopia (green-blind)
#797255
Tritanopia (blue-blind)
#178277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338452;
/* rgb */ color: rgb(51, 132, 82);
/* oklch */ color: oklch(55.0% 0.111 153.4);
Tailwind
colors: {
  custom: {
    50: '#73a883',
    500: '#338452',
    950: '#000000',
  },
}
SCSS
$custom: #338452;
$custom-light: #73a883;
$custom-dark: #000000;
JSON
{
  "hex": "#338452",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 82
  },
  "hsl": {
    "h": 142.963,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55004,
    "c": 0.11111,
    "h": 153.4
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#338452
secondary
#AE6592
accent
#54A3D4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #338452

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

Preview Lab → · Contrast checker → · Palette generator →

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