#355112#355112

#355112 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.095 H 130.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#355112
RGBrgb(53, 81, 18)
HSLhsl(87, 64%, 19%)
HSVhsv(87, 78%, 32%)
CMYKcmyk(34.6%, 0%, 77.8%, 68.2%)
CIE-LABlab(31.08, -21.78, 31.94)
CIE-LCHlch(31.08, 38.66, 124.30°)
OKLaboklab(39.85% -0.0617 0.0719)
OKLCHoklch(39.85% 0.095 130.6)
XYZxyz(4.5198, 6.6853, 1.6244)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#355112 #2E1251
analogous
#514E12 #355112 #165112
triadic
#355112 #123551 #511235
tetradic
#355112 #12514E #2E1251 #511216
square
#355112 #12514E #2E1251 #511216
split-complementary
#355112 #121651 #4E1251
monochromatic
#101906 #141F07 #355112 #56831D #77B528

Accessibility & contrast

On white

8.99
#355112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#355112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #355112
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##355112#FFFFFF#000000##FFFFFF
##3551121.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A07
Deuteranopia (green-blind)
#514818
Tritanopia (blue-blind)
#364D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #355112;
/* rgb */ color: rgb(53, 81, 18);
/* oklch */ color: oklch(39.9% 0.095 130.6);
Tailwind
colors: {
  custom: {
    50: '#6f8254',
    500: '#355112',
    950: '#000000',
  },
}
SCSS
$custom: #355112;
$custom-light: #6f8254;
$custom-dark: #000000;
JSON
{
  "hex": "#355112",
  "rgb": {
    "r": 53,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 86.667,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.09473,
    "h": 130.6
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#355112
secondary
#5B358A
accent
#41E78B
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #355112

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

Preview Lab → · Contrast checker → · Palette generator →

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