#334236#334236

#334236 is a dark, muted green. Relative luminance 0.049; OKLCH L 36.2% C 0.028 H 150.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#334236
RGBrgb(51, 66, 54)
HSLhsl(132, 13%, 23%)
HSVhsv(132, 23%, 26%)
CMYKcmyk(22.7%, 0%, 18.2%, 74.1%)
CIE-LABlab(26.35, -8.93, 5.34)
CIE-LCHlch(26.35, 10.41, 149.12°)
OKLaboklab(36.19% -0.0246 0.0138)
OKLCHoklch(36.19% 0.028 150.8)
XYZxyz(3.9791, 4.8665, 4.2190)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334236 #42333F
analogous
#374233 #334236 #33423D
triadic
#334236 #363342 #423633
tetradic
#334236 #333742 #42333F #423D33
square
#334236 #333742 #42333F #423D33
split-complementary
#334236 #3D3342 #423337
monochromatic
#0D110E #181F1A #334236 #4E6552 #68876E

Accessibility & contrast

On white

10.64
#334236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#334236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334236
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334236#FFFFFF#000000##FFFFFF
##3342361.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F35
Deuteranopia (green-blind)
#403E37
Tritanopia (blue-blind)
#31413F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #334236;
/* rgb */ color: rgb(51, 66, 54);
/* oklch */ color: oklch(36.2% 0.028 150.8);
Tailwind
colors: {
  custom: {
    50: '#6b766d',
    500: '#334236',
    950: '#000000',
  },
}
SCSS
$custom: #334236;
$custom-light: #6b766d;
$custom-dark: #000000;
JSON
{
  "hex": "#334236",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 54
  },
  "hsl": {
    "h": 132,
    "s": 12.821,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36186,
    "c": 0.02825,
    "h": 150.8
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#334236
secondary
#725F6E
accent
#72A8B6
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060807
muted
#7A7B7A

Preview Lab

Preview with #334236

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

Preview Lab → · Contrast checker → · Palette generator →

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