#396315#396315

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

Color values

HEX#396315
RGBrgb(57, 99, 21)
HSLhsl(92, 65%, 24%)
HSVhsv(92, 79%, 39%)
CMYKcmyk(42.4%, 0%, 78.8%, 61.2%)
CIE-LABlab(37.57, -28.71, 37.24)
CIE-LCHlch(37.57, 47.02, 127.63°)
OKLaboklab(45.22% -0.0805 0.0834)
OKLCHoklch(45.22% 0.116 134)
XYZxyz(6.2844, 9.8474, 2.2789)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396315 #3F1563
analogous
#606315 #396315 #156318
triadic
#396315 #153963 #631539
tetradic
#396315 #156063 #3F1563 #631815
square
#396315 #156063 #3F1563 #631815
split-complementary
#396315 #181563 #631560
monochromatic
#0F1905 #1C310A #396315 #569520 #73C82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396315#FFFFFF#000000##FFFFFF
##3963151.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)
#675B06
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#395F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396315;
/* rgb */ color: rgb(57, 99, 21);
/* oklch */ color: oklch(45.2% 0.116 134.0);
Tailwind
colors: {
  custom: {
    50: '#749059',
    500: '#396315',
    950: '#000000',
  },
}
SCSS
$custom: #396315;
$custom-light: #749059;
$custom-dark: #000000;
JSON
{
  "hex": "#396315",
  "rgb": {
    "r": 57,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 92.308,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.11593,
    "h": 134
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#396315
secondary
#6E3A9A
accent
#40E89A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #396315

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

Preview Lab → · Contrast checker → · Palette generator →

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