#338734#338734

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

Color values

HEX#338734
RGBrgb(51, 135, 52)
HSLhsl(121, 45%, 36%)
HSVhsv(121, 62%, 53%)
CMYKcmyk(62.2%, 0%, 61.5%, 47.1%)
CIE-LABlab(49.83, -42.72, 36.50)
CIE-LCHlch(49.83, 56.19, 139.49°)
OKLaboklab(55.32% -0.116 0.0858)
OKLCHoklch(55.32% 0.144 143.5)
XYZxyz(10.6484, 18.2787, 6.2151)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338734 #873386
analogous
#5C8733 #338734 #33875E
triadic
#338734 #343387 #873433
tetradic
#338734 #335C87 #873386 #875E33
square
#338734 #335C87 #873386 #875E33
split-complementary
#338734 #5E3387 #87335C
monochromatic
#112E12 #225B23 #338734 #44B345 #6DC86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338734#FFFFFF#000000##000000
##3387341.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)
#8A7B2B
Deuteranopia (green-blind)
#7F743B
Tritanopia (blue-blind)
#238375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338734;
/* rgb */ color: rgb(51, 135, 52);
/* oklch */ color: oklch(55.3% 0.144 143.5);
Tailwind
colors: {
  custom: {
    50: '#75ab6e',
    500: '#338734',
    950: '#000000',
  },
}
SCSS
$custom: #338734;
$custom-light: #75ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#338734",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 52
  },
  "hsl": {
    "h": 120.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55324,
    "c": 0.14432,
    "h": 143.5
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#338734
secondary
#B066AF
accent
#53D3D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338734

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

Preview Lab → · Contrast checker → · Palette generator →

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