#366B17#366B17

#366B17 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.3% C 0.127 H 136.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#366B17
RGBrgb(54, 107, 23)
HSLhsl(98, 65%, 25%)
HSVhsv(98, 79%, 42%)
CMYKcmyk(49.5%, 0%, 78.5%, 58%)
CIE-LABlab(40.18, -33.25, 38.99)
CIE-LCHlch(40.18, 51.24, 130.45°)
OKLaboklab(47.33% -0.0924 0.0874)
OKLCHoklch(47.33% 0.127 136.6)
XYZxyz(6.9335, 11.3611, 2.6380)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366B17 #4C176B
analogous
#606B17 #366B17 #176B22
triadic
#366B17 #17366B #6B1736
tetradic
#366B17 #17606B #4C176B #6B2217
square
#366B17 #17606B #4C176B #6B2217
split-complementary
#366B17 #22176B #6B1760
monochromatic
#0D1905 #1D390C #366B17 #4F9D22 #69D02D

Accessibility & contrast

On white

6.42
#366B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#366B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366B17
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366B17#FFFFFF#000000##FFFFFF
##366B171.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6106
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#33675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #366b17;
/* rgb */ color: rgb(54, 107, 23);
/* oklch */ color: oklch(47.3% 0.127 136.6);
Tailwind
colors: {
  custom: {
    50: '#73965b',
    500: '#366b17',
    950: '#000000',
  },
}
SCSS
$custom: #366b17;
$custom-light: #73965b;
$custom-dark: #000000;
JSON
{
  "hex": "#366b17",
  "rgb": {
    "r": 54,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 97.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.12722,
    "h": 136.6
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#366B17
secondary
#7C3DA1
accent
#40E8AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #366B17

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

Preview Lab → · Contrast checker → · Palette generator →

#366B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva