#396218#396218

#396218 is a dark, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.0% C 0.113 H 134.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#396218
RGBrgb(57, 98, 24)
HSLhsl(93, 61%, 24%)
HSVhsv(93, 76%, 38%)
CMYKcmyk(41.8%, 0%, 75.5%, 61.6%)
CIE-LABlab(37.25, -28.02, 35.70)
CIE-LCHlch(37.25, 45.38, 128.12°)
OKLaboklab(44.96% -0.0784 0.0807)
OKLCHoklch(44.96% 0.113 134.2)
XYZxyz(6.2198, 9.6709, 2.4029)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396218 #411862
analogous
#5E6218 #396218 #18621C
triadic
#396218 #183962 #621839
tetradic
#396218 #185E62 #411862 #621C18
square
#396218 #185E62 #411862 #621C18
split-complementary
#396218 #1C1862 #62185E
monochromatic
#0E1906 #1C310C #396218 #569324 #72C430

Accessibility & contrast

On white

7.16
#396218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#396218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396218
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396218#FFFFFF#000000##FFFFFF
##3962181.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#395E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396218;
/* rgb */ color: rgb(57, 98, 24);
/* oklch */ color: oklch(45.0% 0.113 134.2);
Tailwind
colors: {
  custom: {
    50: '#738f5a',
    500: '#396218',
    950: '#000000',
  },
}
SCSS
$custom: #396218;
$custom-light: #738f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#396218",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 93.243,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.1125,
    "h": 134.2
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#396218
secondary
#703E98
accent
#44E49D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396218

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

Preview Lab → · Contrast checker → · Palette generator →

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