#338233#338233

#338233 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.138 H 143.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#338233
RGBrgb(51, 130, 51)
HSLhsl(120, 44%, 35%)
HSVhsv(120, 61%, 51%)
CMYKcmyk(60.8%, 0%, 60.8%, 49%)
CIE-LABlab(48.14, -40.87, 35.03)
CIE-LCHlch(48.14, 53.83, 139.40°)
OKLaboklab(53.93% -0.111 0.0826)
OKLCHoklch(53.93% 0.138 143.4)
XYZxyz(9.9449, 16.9072, 5.8707)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338233 #823382
analogous
#5A8233 #338233 #33825A
triadic
#338233 #333382 #823333
tetradic
#338233 #335A82 #823382 #825A33
square
#338233 #335A82 #823382 #825A33
split-complementary
#338233 #5A3382 #82335A
monochromatic
#112A11 #225622 #338233 #44AE44 #6BC56B

Accessibility & contrast

On white

4.79
#338233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#338233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338233
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338233#FFFFFF#000000##FFFFFF
##3382331.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85762B
Deuteranopia (green-blind)
#7B7039
Tritanopia (blue-blind)
#257E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338233;
/* rgb */ color: rgb(51, 130, 51);
/* oklch */ color: oklch(53.9% 0.138 143.4);
Tailwind
colors: {
  custom: {
    50: '#74a76d',
    500: '#338233',
    950: '#000000',
  },
}
SCSS
$custom: #338233;
$custom-light: #74a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#338233",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 120,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53927,
    "c": 0.13839,
    "h": 143.4
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#338233
secondary
#AD64AD
accent
#54D3D3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #338233

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

Preview Lab → · Contrast checker → · Palette generator →

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