#338735#338735

#338735 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.143 H 143.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#338735
RGBrgb(51, 135, 53)
HSLhsl(121, 45%, 36%)
HSVhsv(121, 62%, 53%)
CMYKcmyk(62.2%, 0%, 60.7%, 47.1%)
CIE-LABlab(49.84, -42.60, 36.02)
CIE-LCHlch(49.84, 55.79, 139.78°)
OKLaboklab(55.34% -0.1156 0.0849)
OKLCHoklch(55.34% 0.143 143.7)
XYZxyz(10.6712, 18.2878, 6.3350)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338735 #873385
analogous
#5B8733 #338735 #33875F
triadic
#338735 #353387 #873533
tetradic
#338735 #335B87 #873385 #875F33
square
#338735 #335B87 #873385 #875F33
split-complementary
#338735 #5F3387 #87335B
monochromatic
#112E12 #225B24 #338735 #44B346 #6DC86F

Accessibility & contrast

On white

4.51
#338735 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#338735 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338735
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338735#FFFFFF#000000##000000
##3387351.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2C
Deuteranopia (green-blind)
#7F743C
Tritanopia (blue-blind)
#238375
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338735;
/* rgb */ color: rgb(51, 135, 53);
/* oklch */ color: oklch(55.3% 0.143 143.7);
Tailwind
colors: {
  custom: {
    50: '#75ab6f',
    500: '#338735',
    950: '#000000',
  },
}
SCSS
$custom: #338735;
$custom-light: #75ab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#338735",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 53
  },
  "hsl": {
    "h": 121.429,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.14346,
    "h": 143.7
  },
  "luminance": 0.18289
}

Semantic roles & 50–950 ramp

primary
#338735
secondary
#B066AE
accent
#53D2D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338735

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

Preview Lab → · Contrast checker → · Palette generator →

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