#396417#396417

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

Color values

HEX#396417
RGBrgb(57, 100, 23)
HSLhsl(94, 63%, 24%)
HSVhsv(94, 77%, 39%)
CMYKcmyk(43%, 0%, 77%, 60.8%)
CIE-LABlab(37.92, -29.03, 36.80)
CIE-LCHlch(37.92, 46.87, 128.27°)
OKLaboklab(45.51% -0.0812 0.0828)
OKLCHoklch(45.51% 0.116 134.4)
XYZxyz(6.3990, 10.0457, 2.4123)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396417 #421764
analogous
#606417 #396417 #17641B
triadic
#396417 #173964 #641739
tetradic
#396417 #176064 #421764 #641B17
square
#396417 #176064 #421764 #641B17
split-complementary
#396417 #1B1764 #641760
monochromatic
#0E1906 #1D320C #396417 #559622 #72C82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396417#FFFFFF#000000##FFFFFF
##3964171.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)
#685B09
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#386055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #396417;
/* rgb */ color: rgb(57, 100, 23);
/* oklch */ color: oklch(45.5% 0.116 134.4);
Tailwind
colors: {
  custom: {
    50: '#74905a',
    500: '#396417',
    950: '#000000',
  },
}
SCSS
$custom: #396417;
$custom-light: #74905a;
$custom-dark: #000000;
JSON
{
  "hex": "#396417",
  "rgb": {
    "r": 57,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 93.506,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.116,
    "h": 134.4
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#396417
secondary
#713C9A
accent
#42E69D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396417

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

Preview Lab → · Contrast checker → · Palette generator →

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