#335233#335233

#335233 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.5% C 0.063 H 144.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#335233
RGBrgb(51, 82, 51)
HSLhsl(120, 23%, 26%)
HSVhsv(120, 38%, 32%)
CMYKcmyk(37.8%, 0%, 37.8%, 67.8%)
CIE-LABlab(31.75, -18.74, 14.68)
CIE-LCHlch(31.75, 23.81, 141.94°)
OKLaboklab(40.51% -0.0511 0.0367)
OKLCHoklch(40.51% 0.063 144.3)
XYZxyz(4.9799, 6.9772, 4.2157)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335233 #523352
analogous
#425233 #335233 #335242
triadic
#335233 #333352 #523333
tetradic
#335233 #334252 #523352 #524233
square
#335233 #334252 #523352 #524233
split-complementary
#335233 #423352 #523342
monochromatic
#0C130C #1C2C1C #335233 #4A784A #629D62

Accessibility & contrast

On white

8.77
#335233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#335233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335233
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335233#FFFFFF#000000##FFFFFF
##3352331.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D31
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#30504A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #335233;
/* rgb */ color: rgb(51, 82, 51);
/* oklch */ color: oklch(40.5% 0.063 144.3);
Tailwind
colors: {
  custom: {
    50: '#6c836b',
    500: '#335233',
    950: '#000000',
  },
}
SCSS
$custom: #335233;
$custom-light: #6c836b;
$custom-dark: #000000;
JSON
{
  "hex": "#335233",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 51
  },
  "hsl": {
    "h": 120,
    "s": 23.308,
    "l": 26.078
  },
  "oklch": {
    "l": 0.40513,
    "c": 0.06292,
    "h": 144.3
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#335233
secondary
#835E83
accent
#68C0C0
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #335233

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

Preview Lab → · Contrast checker → · Palette generator →

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