#355217#355217

#355217 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.092 H 131.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#355217
RGBrgb(53, 82, 23)
HSLhsl(89, 56%, 21%)
HSVhsv(89, 72%, 32%)
CMYKcmyk(35.4%, 0%, 72%, 67.8%)
CIE-LABlab(31.47, -21.87, 30.07)
CIE-LCHlch(31.47, 37.19, 126.03°)
OKLaboklab(40.18% -0.0615 0.0688)
OKLCHoklch(40.18% 0.092 131.8)
XYZxyz(4.6401, 6.8532, 1.8888)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#355217 #341752
analogous
#525117 #355217 #175217
triadic
#355217 #173552 #521735
tetradic
#355217 #175251 #341752 #521717
square
#355217 #175251 #341752 #521717
split-complementary
#355217 #171752 #511752
monochromatic
#0F1807 #16220A #355217 #548224 #73B232

Accessibility & contrast

On white

8.86
#355217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#355217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #355217
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##355217#FFFFFF#000000##FFFFFF
##3552171.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#364E46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #355217;
/* rgb */ color: rgb(53, 82, 23);
/* oklch */ color: oklch(40.2% 0.092 131.8);
Tailwind
colors: {
  custom: {
    50: '#6f8357',
    500: '#355217',
    950: '#000000',
  },
}
SCSS
$custom: #355217;
$custom-light: #6f8357;
$custom-dark: #000000;
JSON
{
  "hex": "#355217",
  "rgb": {
    "r": 53,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 89.492,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40182,
    "c": 0.09224,
    "h": 131.8
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#355217
secondary
#623C89
accent
#48DF93
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #355217

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

Preview Lab → · Contrast checker → · Palette generator →

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