#396318#396318

#396318 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.2% C 0.114 H 134.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#396318
RGBrgb(57, 99, 24)
HSLhsl(94, 61%, 24%)
HSVhsv(94, 76%, 39%)
CMYKcmyk(42.4%, 0%, 75.8%, 61.2%)
CIE-LABlab(37.59, -28.49, 36.05)
CIE-LCHlch(37.59, 45.95, 128.31°)
OKLaboklab(45.24% -0.0797 0.0814)
OKLCHoklch(45.24% 0.114 134.4)
XYZxyz(6.3139, 9.8592, 2.4343)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396318 #421863
analogous
#5F6318 #396318 #18631D
triadic
#396318 #183963 #631839
tetradic
#396318 #185F63 #421863 #631D18
square
#396318 #185F63 #421863 #631D18
split-complementary
#396318 #1D1863 #63185F
monochromatic
#0E1906 #1D320C #396318 #559424 #72C630

Accessibility & contrast

On white

7.07
#396318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#396318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396318
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396318#FFFFFF#000000##FFFFFF
##3963181.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#385F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396318;
/* rgb */ color: rgb(57, 99, 24);
/* oklch */ color: oklch(45.2% 0.114 134.4);
Tailwind
colors: {
  custom: {
    50: '#73905a',
    500: '#396318',
    950: '#000000',
  },
}
SCSS
$custom: #396318;
$custom-light: #73905a;
$custom-dark: #000000;
JSON
{
  "hex": "#396318",
  "rgb": {
    "r": 57,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 93.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.11391,
    "h": 134.4
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#396318
secondary
#713E99
accent
#44E49E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396318

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

Preview Lab → · Contrast checker → · Palette generator →

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