#338632#338632

#338632 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.145 H 143.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#338632
RGBrgb(51, 134, 50)
HSLhsl(119, 46%, 36%)
HSVhsv(119, 63%, 53%)
CMYKcmyk(61.9%, 0%, 62.7%, 47.5%)
CIE-LABlab(49.48, -42.57, 37.05)
CIE-LCHlch(49.48, 56.44, 138.97°)
OKLaboklab(55.02% -0.1157 0.0868)
OKLCHoklch(55.02% 0.145 143.1)
XYZxyz(10.4655, 17.9833, 5.9366)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338632 #853286
analogous
#5D8632 #338632 #32865B
triadic
#338632 #323386 #863233
tetradic
#338632 #325D86 #853286 #865B32
square
#338632 #325D86 #853286 #865B32
split-complementary
#338632 #5B3286 #86325D
monochromatic
#112D11 #225921 #338632 #44B343 #6CC86B

Accessibility & contrast

On white

4.57
#338632 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#338632 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338632
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338632#FFFFFF#000000##000000
##3386321.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A29
Deuteranopia (green-blind)
#7E7339
Tritanopia (blue-blind)
#248274
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338632;
/* rgb */ color: rgb(51, 134, 50);
/* oklch */ color: oklch(55.0% 0.145 143.1);
Tailwind
colors: {
  custom: {
    50: '#74aa6d',
    500: '#338632',
    950: '#000000',
  },
}
SCSS
$custom: #338632;
$custom-light: #74aa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#338632",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 50
  },
  "hsl": {
    "h": 119.286,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55023,
    "c": 0.14467,
    "h": 143.1
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#338632
secondary
#AE64AF
accent
#52D5D4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338632

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

Preview Lab → · Contrast checker → · Palette generator →

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