#355211#355211

#355211 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.1% C 0.097 H 130.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#355211
RGBrgb(53, 82, 17)
HSLhsl(87, 66%, 19%)
HSVhsv(87, 79%, 32%)
CMYKcmyk(35.4%, 0%, 79.3%, 67.8%)
CIE-LABlab(31.42, -22.37, 32.70)
CIE-LCHlch(31.42, 39.62, 124.37°)
OKLaboklab(40.13% -0.0634 0.0733)
OKLCHoklch(40.13% 0.097 130.8)
XYZxyz(4.5866, 6.8318, 1.6072)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#355211 #2E1152
analogous
#524F11 #355211 #155211
triadic
#355211 #113552 #521135
tetradic
#355211 #11524F #2E1152 #521115
square
#355211 #11524F #2E1152 #521115
split-complementary
#355211 #111552 #4F1152
monochromatic
#101905 #141F06 #355211 #56851C #77B726

Accessibility & contrast

On white

8.87
#355211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #355211
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##355211#FFFFFF#000000##FFFFFF
##3552111.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B06
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#364E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #355211;
/* rgb */ color: rgb(53, 82, 17);
/* oklch */ color: oklch(40.1% 0.097 130.8);
Tailwind
colors: {
  custom: {
    50: '#6f8354',
    500: '#355211',
    950: '#000000',
  },
}
SCSS
$custom: #355211;
$custom-light: #6f8354;
$custom-dark: #000000;
JSON
{
  "hex": "#355211",
  "rgb": {
    "r": 53,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 86.769,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.09691,
    "h": 130.8
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#355211
secondary
#5B348B
accent
#3FE98B
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #355211

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

Preview Lab → · Contrast checker → · Palette generator →

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