#335334#335334

#335334 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.8% C 0.064 H 145.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#335334
RGBrgb(51, 83, 52)
HSLhsl(122, 24%, 26%)
HSVhsv(122, 39%, 33%)
CMYKcmyk(38.6%, 0%, 37.3%, 67.5%)
CIE-LABlab(32.12, -19.09, 14.55)
CIE-LCHlch(32.12, 24.00, 142.69°)
OKLaboklab(40.81% -0.052 0.0364)
OKLCHoklch(40.81% 0.064 145)
XYZxyz(5.0781, 7.1380, 4.3583)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335334 #533352
analogous
#425333 #335334 #335344
triadic
#335334 #343353 #533433
tetradic
#335334 #334253 #533352 #534433
square
#335334 #334253 #533352 #534433
split-complementary
#335334 #443353 #533342
monochromatic
#0C130C #1C2D1C #335334 #4A794C #629E64

Accessibility & contrast

On white

8.65
#335334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#335334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335334
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335334#FFFFFF#000000##FFFFFF
##3353341.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E32
Deuteranopia (green-blind)
#4F4A36
Tritanopia (blue-blind)
#2F514B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335334;
/* rgb */ color: rgb(51, 83, 52);
/* oklch */ color: oklch(40.8% 0.064 145.0);
Tailwind
colors: {
  custom: {
    50: '#6c836b',
    500: '#335334',
    950: '#000000',
  },
}
SCSS
$custom: #335334;
$custom-light: #6c836b;
$custom-dark: #000000;
JSON
{
  "hex": "#335334",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 52
  },
  "hsl": {
    "h": 121.875,
    "s": 23.881,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.06353,
    "h": 145
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#335334
secondary
#845E83
accent
#67BEC0
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #335334

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

Preview Lab → · Contrast checker → · Palette generator →

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