#366512#366512

#366512 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.6% C 0.122 H 135.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#366512
RGBrgb(54, 101, 18)
HSLhsl(94, 70%, 23%)
HSVhsv(94, 82%, 40%)
CMYKcmyk(46.5%, 0%, 82.2%, 60.4%)
CIE-LABlab(38.08, -30.94, 38.80)
CIE-LCHlch(38.08, 49.62, 128.57°)
OKLaboklab(45.59% -0.0865 0.0862)
OKLCHoklch(45.59% 0.122 135.1)
XYZxyz(6.2840, 10.1349, 2.1973)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366512 #411265
analogous
#5F6512 #366512 #126517
triadic
#366512 #123665 #651236
tetradic
#366512 #125F65 #411265 #651712
square
#366512 #125F65 #411265 #651712
split-complementary
#366512 #171265 #65125F
monochromatic
#0E1A05 #1A3109 #366512 #52991B #6ECD25

Accessibility & contrast

On white

6.94
#366512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#366512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366512
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366512#FFFFFF#000000##FFFFFF
##3665121.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#356156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #366512;
/* rgb */ color: rgb(54, 101, 18);
/* oklch */ color: oklch(45.6% 0.122 135.1);
Tailwind
colors: {
  custom: {
    50: '#729157',
    500: '#366512',
    950: '#000000',
  },
}
SCSS
$custom: #366512;
$custom-light: #729157;
$custom-dark: #000000;
JSON
{
  "hex": "#366512",
  "rgb": {
    "r": 54,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 93.976,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.12217,
    "h": 135.1
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#366512
secondary
#70369D
accent
#3BEDA0
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #366512

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

Preview Lab → · Contrast checker → · Palette generator →

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