#366816#366816

#366816 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.5% C 0.124 H 136.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#366816
RGBrgb(54, 104, 22)
HSLhsl(97, 65%, 25%)
HSVhsv(97, 79%, 41%)
CMYKcmyk(48.1%, 0%, 78.8%, 59.2%)
CIE-LABlab(39.14, -32.00, 38.35)
CIE-LCHlch(39.14, 49.95, 129.84°)
OKLaboklab(46.47% -0.0891 0.0859)
OKLCHoklch(46.47% 0.124 136)
XYZxyz(6.6163, 10.7424, 2.4838)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366816 #481668
analogous
#5F6816 #366816 #16681F
triadic
#366816 #163668 #681636
tetradic
#366816 #165F68 #481668 #681F16
square
#366816 #165F68 #481668 #681F16
split-complementary
#366816 #1F1668 #68165F
monochromatic
#0D1905 #1C350B #366816 #509B21 #6ACD2B

Accessibility & contrast

On white

6.67
#366816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#366816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366816
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366816#FFFFFF#000000##FFFFFF
##3668161.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#346458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #366816;
/* rgb */ color: rgb(54, 104, 22);
/* oklch */ color: oklch(46.5% 0.124 136.0);
Tailwind
colors: {
  custom: {
    50: '#72935a',
    500: '#366816',
    950: '#000000',
  },
}
SCSS
$custom: #366816;
$custom-light: #72935a;
$custom-dark: #000000;
JSON
{
  "hex": "#366816",
  "rgb": {
    "r": 54,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 96.585,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4647,
    "c": 0.12381,
    "h": 136
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

primary
#366816
secondary
#783B9F
accent
#40E8A6
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #366816

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

Preview Lab → · Contrast checker → · Palette generator →

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