#396118#396118

#396118 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.7% C 0.111 H 134.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#396118
RGBrgb(57, 97, 24)
HSLhsl(93, 60%, 24%)
HSVhsv(93, 75%, 38%)
CMYKcmyk(41.2%, 0%, 75.3%, 62%)
CIE-LABlab(36.90, -27.55, 35.35)
CIE-LCHlch(36.90, 44.82, 127.92°)
OKLaboklab(44.68% -0.0771 0.0799)
OKLCHoklch(44.68% 0.111 134)
XYZxyz(6.1268, 9.4849, 2.3719)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396118 #401861
analogous
#5D6118 #396118 #18611B
triadic
#396118 #183961 #611839
tetradic
#396118 #185D61 #401861 #611B18
square
#396118 #185D61 #401861 #611B18
split-complementary
#396118 #1B1861 #61185D
monochromatic
#0E1906 #1C300C #396118 #569224 #73C330

Accessibility & contrast

On white

7.25
#396118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#396118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396118
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396118#FFFFFF#000000##FFFFFF
##3961181.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#395D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #396118;
/* rgb */ color: rgb(57, 97, 24);
/* oklch */ color: oklch(44.7% 0.111 134.0);
Tailwind
colors: {
  custom: {
    50: '#738e5a',
    500: '#396118',
    950: '#000000',
  },
}
SCSS
$custom: #396118;
$custom-light: #738e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#396118",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 92.877,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.11108,
    "h": 134
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#396118
secondary
#6F3D97
accent
#44E39C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396118

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

Preview Lab → · Contrast checker → · Palette generator →

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