#338629#338629

#338629 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.152 H 141.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#338629
RGBrgb(51, 134, 41)
HSLhsl(114, 53%, 34%)
HSVhsv(114, 69%, 53%)
CMYKcmyk(61.9%, 0%, 69.4%, 47.5%)
CIE-LABlab(49.39, -43.55, 41.06)
CIE-LCHlch(49.39, 59.86, 136.69°)
OKLaboklab(54.93% -0.1189 0.0944)
OKLCHoklch(54.93% 0.152 141.6)
XYZxyz(10.2901, 17.9131, 5.0127)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338629 #7C2986
analogous
#628629 #338629 #29864D
triadic
#338629 #293386 #862933
tetradic
#338629 #296286 #7C2986 #864D29
square
#338629 #296286 #7C2986 #864D29
split-complementary
#338629 #4D2986 #862962
monochromatic
#0F280C #21571B #338629 #45B537 #68CD5C

Accessibility & contrast

On white

4.58
#338629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#338629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338629
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338629#FFFFFF#000000##000000
##3386291.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1C
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#268273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338629;
/* rgb */ color: rgb(51, 134, 41);
/* oklch */ color: oklch(54.9% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#75aa68',
    500: '#338629',
    950: '#000000',
  },
}
SCSS
$custom: #338629;
$custom-light: #75aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#338629",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 113.548,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54925,
    "c": 0.15176,
    "h": 141.6
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#338629
secondary
#A958B3
accent
#4BDDCD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338629

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

Preview Lab → · Contrast checker → · Palette generator →

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