#366D17#366D17

#366D17 is a mid, vivid yellow-green. Relative luminance 0.118; OKLCH L 47.9% C 0.130 H 136.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#366D17
RGBrgb(54, 109, 23)
HSLhsl(98, 65%, 26%)
HSVhsv(98, 79%, 43%)
CMYKcmyk(50.5%, 0%, 78.9%, 57.3%)
CIE-LABlab(40.87, -34.11, 39.67)
CIE-LCHlch(40.87, 52.32, 130.69°)
OKLaboklab(47.89% -0.0947 0.0889)
OKLCHoklch(47.89% 0.13 136.8)
XYZxyz(7.1444, 11.7829, 2.7083)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366D17 #4E176D
analogous
#616D17 #366D17 #176D23
triadic
#366D17 #17366D #6D1736
tetradic
#366D17 #17616D #4E176D #6D2317
square
#366D17 #17616D #4E176D #6D2317
split-complementary
#366D17 #23176D #6D1761
monochromatic
#0D1905 #1D3A0C #366D17 #4FA022 #68D22C

Accessibility & contrast

On white

6.26
#366D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#366D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366D17
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366D17#FFFFFF#000000##FFFFFF
##366D171.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#33695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #366d17;
/* rgb */ color: rgb(54, 109, 23);
/* oklch */ color: oklch(47.9% 0.130 136.8);
Tailwind
colors: {
  custom: {
    50: '#73975b',
    500: '#366d17',
    950: '#000000',
  },
}
SCSS
$custom: #366d17;
$custom-light: #73975b;
$custom-dark: #000000;
JSON
{
  "hex": "#366d17",
  "rgb": {
    "r": 54,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 98.372,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47889,
    "c": 0.12988,
    "h": 136.8
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#366D17
secondary
#7E3DA3
accent
#40E8AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #366D17

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

Preview Lab → · Contrast checker → · Palette generator →

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