#396418#396418

#396418 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.5% C 0.115 H 134.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#396418
RGBrgb(57, 100, 24)
HSLhsl(94, 61%, 24%)
HSVhsv(94, 76%, 39%)
CMYKcmyk(43%, 0%, 76%, 60.8%)
CIE-LABlab(37.93, -28.95, 36.40)
CIE-LCHlch(37.93, 46.51, 128.50°)
OKLaboklab(45.52% -0.0809 0.0821)
OKLCHoklch(45.52% 0.115 134.6)
XYZxyz(6.4093, 10.0498, 2.4661)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396418 #431864
analogous
#5F6418 #396418 #18641D
triadic
#396418 #183964 #641839
tetradic
#396418 #185F64 #431864 #641D18
square
#396418 #185F64 #431864 #641D18
split-complementary
#396418 #1D1864 #64185F
monochromatic
#0E1906 #1D330C #396418 #559524 #71C730

Accessibility & contrast

On white

6.98
#396418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#396418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396418
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396418#FFFFFF#000000##FFFFFF
##3964181.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0B
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#386055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #396418;
/* rgb */ color: rgb(57, 100, 24);
/* oklch */ color: oklch(45.5% 0.115 134.6);
Tailwind
colors: {
  custom: {
    50: '#74905a',
    500: '#396418',
    950: '#000000',
  },
}
SCSS
$custom: #396418;
$custom-light: #74905a;
$custom-dark: #000000;
JSON
{
  "hex": "#396418",
  "rgb": {
    "r": 57,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 93.947,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.11531,
    "h": 134.6
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#396418
secondary
#723E9A
accent
#43E49E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396418

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

Preview Lab → · Contrast checker → · Palette generator →

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