#396317#396317

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

Color values

HEX#396317
RGBrgb(57, 99, 23)
HSLhsl(93, 62%, 24%)
HSVhsv(93, 77%, 39%)
CMYKcmyk(42.4%, 0%, 76.8%, 61.2%)
CIE-LABlab(37.58, -28.56, 36.46)
CIE-LCHlch(37.58, 46.31, 128.08°)
OKLaboklab(45.23% -0.08 0.0821)
OKLCHoklch(45.23% 0.115 134.3)
XYZxyz(6.3037, 9.8551, 2.3805)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396317 #411763
analogous
#5F6317 #396317 #17631B
triadic
#396317 #173963 #631739
tetradic
#396317 #175F63 #411763 #631B17
square
#396317 #175F63 #411763 #631B17
split-complementary
#396317 #1B1763 #63175F
monochromatic
#0E1906 #1C310B #396317 #569523 #72C62E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396317#FFFFFF#000000##FFFFFF
##3963171.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)
#675B09
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#395F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396317;
/* rgb */ color: rgb(57, 99, 23);
/* oklch */ color: oklch(45.2% 0.115 134.3);
Tailwind
colors: {
  custom: {
    50: '#73905a',
    500: '#396317',
    950: '#000000',
  },
}
SCSS
$custom: #396317;
$custom-light: #73905a;
$custom-dark: #000000;
JSON
{
  "hex": "#396317",
  "rgb": {
    "r": 57,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 93.158,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.1146,
    "h": 134.3
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#396317
secondary
#703C9A
accent
#42E59C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396317

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

Preview Lab → · Contrast checker → · Palette generator →

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