#366B18#366B18

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

Color values

HEX#366B18
RGBrgb(54, 107, 24)
HSLhsl(98, 63%, 26%)
HSVhsv(98, 78%, 42%)
CMYKcmyk(49.5%, 0%, 77.6%, 58%)
CIE-LABlab(40.19, -33.17, 38.61)
CIE-LCHlch(40.19, 50.91, 130.67°)
OKLaboklab(47.33% -0.0921 0.0868)
OKLCHoklch(47.33% 0.127 136.7)
XYZxyz(6.9437, 11.3652, 2.6918)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366B18 #4D186B
analogous
#5F6B18 #366B18 #186B23
triadic
#366B18 #18366B #6B1836
tetradic
#366B18 #185F6B #4D186B #6B2318
square
#366B18 #185F6B #4D186B #6B2318
split-complementary
#366B18 #23186B #6B185F
monochromatic
#0D1906 #1D390D #366B18 #4F9D23 #68CF2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##366B18#FFFFFF#000000##FFFFFF
##366B181.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)
#6F6108
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#33675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #366b18;
/* rgb */ color: rgb(54, 107, 24);
/* oklch */ color: oklch(47.3% 0.127 136.7);
Tailwind
colors: {
  custom: {
    50: '#73965b',
    500: '#366b18',
    950: '#000000',
  },
}
SCSS
$custom: #366b18;
$custom-light: #73965b;
$custom-dark: #000000;
JSON
{
  "hex": "#366b18",
  "rgb": {
    "r": 54,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 98.313,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.12659,
    "h": 136.7
  },
  "luminance": 0.11366
}

Semantic roles & 50–950 ramp

primary
#366B18
secondary
#7D3EA1
accent
#41E6AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #366B18

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

Preview Lab → · Contrast checker → · Palette generator →

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