#355812#355812

#355812 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.105 H 132.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#355812
RGBrgb(53, 88, 18)
HSLhsl(90, 66%, 21%)
HSVhsv(90, 80%, 35%)
CMYKcmyk(39.8%, 0%, 79.5%, 65.5%)
CIE-LABlab(33.52, -25.27, 34.37)
CIE-LCHlch(33.52, 42.66, 126.33°)
OKLaboklab(41.84% -0.0712 0.077)
OKLCHoklch(41.84% 0.105 132.8)
XYZxyz(5.0670, 7.7798, 1.8068)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#355812 #351258
analogous
#585812 #355812 #125812
triadic
#355812 #123558 #581235
tetradic
#355812 #125858 #351258 #581212
square
#355812 #125858 #351258 #581212
split-complementary
#355812 #121258 #581258
monochromatic
#0F1905 #162508 #355812 #548B1C #72BE27

Accessibility & contrast

On white

8.22
#355812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#355812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #355812
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##355812#FFFFFF#000000##FFFFFF
##3558121.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#35544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #355812;
/* rgb */ color: rgb(53, 88, 18);
/* oklch */ color: oklch(41.8% 0.105 132.8);
Tailwind
colors: {
  custom: {
    50: '#708755',
    500: '#355812',
    950: '#000000',
  },
}
SCSS
$custom: #355812;
$custom-light: #708755;
$custom-dark: #000000;
JSON
{
  "hex": "#355812",
  "rgb": {
    "r": 53,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 90,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.10482,
    "h": 132.8
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#355812
secondary
#633591
accent
#3FE994
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #355812

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

Preview Lab → · Contrast checker → · Palette generator →

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