#366012#366012

#366012 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.2% C 0.115 H 134.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#366012
RGBrgb(54, 96, 18)
HSLhsl(92, 68%, 22%)
HSVhsv(92, 81%, 38%)
CMYKcmyk(43.7%, 0%, 81.3%, 62.4%)
CIE-LABlab(36.35, -28.66, 37.14)
CIE-LCHlch(36.35, 46.92, 127.66°)
OKLaboklab(44.17% -0.0804 0.0828)
OKLCHoklch(44.17% 0.115 134.2)
XYZxyz(5.8133, 9.1934, 2.0403)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366012 #3C1260
analogous
#5D6012 #366012 #126015
triadic
#366012 #123660 #601236
tetradic
#366012 #125D60 #3C1260 #601512
square
#366012 #125D60 #3C1260 #601512
split-complementary
#366012 #151260 #60125D
monochromatic
#0E1A05 #192C08 #366012 #53941C #70C725

Accessibility & contrast

On white

7.40
#366012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#366012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #366012
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366012#FFFFFF#000000##FFFFFF
##3660121.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#365C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #366012;
/* rgb */ color: rgb(54, 96, 18);
/* oklch */ color: oklch(44.2% 0.115 134.2);
Tailwind
colors: {
  custom: {
    50: '#718d57',
    500: '#366012',
    950: '#000000',
  },
}
SCSS
$custom: #366012;
$custom-light: #718d57;
$custom-dark: #000000;
JSON
{
  "hex": "#366012",
  "rgb": {
    "r": 54,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 92.308,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.1154,
    "h": 134.2
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#366012
secondary
#6B3698
accent
#3DEB9B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #366012

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

Preview Lab → · Contrast checker → · Palette generator →

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