#338134#338134

#338134 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.136 H 143.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#338134
RGBrgb(51, 129, 52)
HSLhsl(121, 43%, 35%)
HSVhsv(121, 60%, 51%)
CMYKcmyk(60.5%, 0%, 59.7%, 49.4%)
CIE-LABlab(47.82, -40.34, 34.16)
CIE-LCHlch(47.82, 52.86, 139.74°)
OKLaboklab(53.66% -0.1096 0.0808)
OKLCHoklch(53.66% 0.136 143.6)
XYZxyz(9.8348, 16.6514, 5.9439)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338134 #813380
analogous
#598133 #338134 #33815B
triadic
#338134 #343381 #813433
tetradic
#338134 #335981 #813380 #815B33
square
#338134 #335981 #813380 #815B33
split-complementary
#338134 #5B3381 #813359
monochromatic
#102911 #225522 #338134 #44AD46 #6AC46B

Accessibility & contrast

On white

4.85
#338134 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#338134 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338134
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338134#FFFFFF#000000##FFFFFF
##3381341.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762C
Deuteranopia (green-blind)
#7A6F3A
Tritanopia (blue-blind)
#257D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338134;
/* rgb */ color: rgb(51, 129, 52);
/* oklch */ color: oklch(53.7% 0.136 143.6);
Tailwind
colors: {
  custom: {
    50: '#73a66e',
    500: '#338134',
    950: '#000000',
  },
}
SCSS
$custom: #338134;
$custom-light: #73a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#338134",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 52
  },
  "hsl": {
    "h": 120.769,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53663,
    "c": 0.13613,
    "h": 143.6
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#338134
secondary
#AC64AB
accent
#55D1D3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #338134

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

Preview Lab → · Contrast checker → · Palette generator →

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