#355212#355212

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

Color values

HEX#355212
RGBrgb(53, 82, 18)
HSLhsl(87, 64%, 20%)
HSVhsv(87, 78%, 32%)
CMYKcmyk(35.4%, 0%, 78%, 67.8%)
CIE-LABlab(31.43, -22.29, 32.29)
CIE-LCHlch(31.43, 39.23, 124.62°)
OKLaboklab(40.13% -0.0631 0.0726)
OKLCHoklch(40.13% 0.096 131)
XYZxyz(4.5946, 6.8350, 1.6494)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#355212 #2F1252
analogous
#524F12 #355212 #155212
triadic
#355212 #123552 #521235
tetradic
#355212 #12524F #2F1252 #521215
square
#355212 #12524F #2F1252 #521215
split-complementary
#355212 #121552 #4F1252
monochromatic
#101906 #152007 #355212 #55841D #76B628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##355212#FFFFFF#000000##FFFFFF
##3552121.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)
#564B07
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#364E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #355212;
/* rgb */ color: rgb(53, 82, 18);
/* oklch */ color: oklch(40.1% 0.096 131.0);
Tailwind
colors: {
  custom: {
    50: '#6f8355',
    500: '#355212',
    950: '#000000',
  },
}
SCSS
$custom: #355212;
$custom-light: #6f8355;
$custom-dark: #000000;
JSON
{
  "hex": "#355212",
  "rgb": {
    "r": 53,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 87.188,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40134,
    "c": 0.0962,
    "h": 131
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#355212
secondary
#5C358B
accent
#41E78C
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #355212

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

Preview Lab → · Contrast checker → · Palette generator →

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