#366312#366312

#366312 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.0% C 0.119 H 134.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#366312
RGBrgb(54, 99, 18)
HSLhsl(93, 69%, 23%)
HSVhsv(93, 82%, 39%)
CMYKcmyk(45.5%, 0%, 81.8%, 61.2%)
CIE-LABlab(37.39, -30.04, 38.14)
CIE-LCHlch(37.39, 48.55, 128.22°)
OKLaboklab(45.03% -0.0841 0.0848)
OKLCHoklch(45.03% 0.119 134.8)
XYZxyz(6.0922, 9.7513, 2.1333)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366312 #3F1263
analogous
#5E6312 #366312 #126316
triadic
#366312 #123663 #631236
tetradic
#366312 #125E63 #3F1263 #631612
square
#366312 #125E63 #3F1263 #631612
split-complementary
#366312 #161263 #63125E
monochromatic
#0E1A05 #1A2F09 #366312 #52971B #6ECB25

Accessibility & contrast

On white

7.12
#366312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#366312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #366312
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366312#FFFFFF#000000##FFFFFF
##3663121.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#355F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #366312;
/* rgb */ color: rgb(54, 99, 18);
/* oklch */ color: oklch(45.0% 0.119 134.8);
Tailwind
colors: {
  custom: {
    50: '#729057',
    500: '#366312',
    950: '#000000',
  },
}
SCSS
$custom: #366312;
$custom-light: #729057;
$custom-dark: #000000;
JSON
{
  "hex": "#366312",
  "rgb": {
    "r": 54,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 93.333,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45025,
    "c": 0.11947,
    "h": 134.8
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#366312
secondary
#6E369B
accent
#3CEC9E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #366312

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

Preview Lab → · Contrast checker → · Palette generator →

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