#365212#365212

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

Color values

HEX#365212
RGBrgb(54, 82, 18)
HSLhsl(86, 64%, 20%)
HSVhsv(86, 78%, 32%)
CMYKcmyk(34.1%, 0%, 78%, 67.8%)
CIE-LABlab(31.49, -21.86, 32.37)
CIE-LCHlch(31.49, 39.06, 124.04°)
OKLaboklab(40.2% -0.062 0.0728)
OKLCHoklch(40.2% 0.096 130.4)
XYZxyz(4.6478, 6.8624, 1.6518)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#365212 #2E1252
analogous
#524E12 #365212 #165212
triadic
#365212 #123652 #521236
tetradic
#365212 #12524E #2E1252 #521216
square
#365212 #12524E #2E1252 #521216
split-complementary
#365212 #121652 #4E1252
monochromatic
#111906 #152007 #365212 #57841D #78B628

Accessibility & contrast

On white

8.85
#365212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #365212
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##365212#FFFFFF#000000##FFFFFF
##3652121.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#374E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #365212;
/* rgb */ color: rgb(54, 82, 18);
/* oklch */ color: oklch(40.2% 0.096 130.4);
Tailwind
colors: {
  custom: {
    50: '#708355',
    500: '#365212',
    950: '#000000',
  },
}
SCSS
$custom: #365212;
$custom-light: #708355;
$custom-dark: #000000;
JSON
{
  "hex": "#365212",
  "rgb": {
    "r": 54,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 86.25,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.0956,
    "h": 130.4
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#365212
secondary
#5B358B
accent
#41E78A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #365212

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

Preview Lab → · Contrast checker → · Palette generator →

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