#366212#366212

#366212 is a dark, moderate yellow-green. Relative luminance 0.096; OKLCH L 44.7% C 0.118 H 134.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#366212
RGBrgb(54, 98, 18)
HSLhsl(93, 69%, 23%)
HSVhsv(93, 82%, 38%)
CMYKcmyk(44.9%, 0%, 81.6%, 61.6%)
CIE-LABlab(37.05, -29.58, 37.81)
CIE-LCHlch(37.05, 48.01, 128.04°)
OKLaboklab(44.74% -0.0829 0.0842)
OKLCHoklch(44.74% 0.118 134.6)
XYZxyz(5.9981, 9.5630, 2.1019)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366212 #3E1262
analogous
#5E6212 #366212 #126216
triadic
#366212 #123662 #621236
tetradic
#366212 #125E62 #3E1262 #621612
square
#366212 #125E62 #3E1262 #621612
split-complementary
#366212 #161262 #62125E
monochromatic
#0E1A05 #1A2E09 #366212 #52961B #6FC925

Accessibility & contrast

On white

7.21
#366212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#366212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #366212
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366212#FFFFFF#000000##FFFFFF
##3662121.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665901
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#355E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #366212;
/* rgb */ color: rgb(54, 98, 18);
/* oklch */ color: oklch(44.7% 0.118 134.6);
Tailwind
colors: {
  custom: {
    50: '#728f57',
    500: '#366212',
    950: '#000000',
  },
}
SCSS
$custom: #366212;
$custom-light: #728f57;
$custom-dark: #000000;
JSON
{
  "hex": "#366212",
  "rgb": {
    "r": 54,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 93,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.11813,
    "h": 134.6
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#366212
secondary
#6D369A
accent
#3CEC9D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #366212

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

Preview Lab → · Contrast checker → · Palette generator →

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