#396313#396313

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

Color values

HEX#396313
RGBrgb(57, 99, 19)
HSLhsl(92, 68%, 23%)
HSVhsv(92, 81%, 39%)
CMYKcmyk(42.4%, 0%, 80.8%, 61.2%)
CIE-LABlab(37.55, -28.84, 37.98)
CIE-LCHlch(37.55, 47.70, 127.21°)
OKLaboklab(45.2% -0.081 0.0846)
OKLCHoklch(45.2% 0.117 133.8)
XYZxyz(6.2666, 9.8402, 2.1851)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396313 #3D1363
analogous
#616313 #396313 #136315
triadic
#396313 #133963 #631339
tetradic
#396313 #136163 #3D1363 #631513
square
#396313 #136163 #3D1363 #631513
split-complementary
#396313 #151363 #631361
monochromatic
#0F1A05 #1B3009 #396313 #57961D #74CA27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396313#FFFFFF#000000##FFFFFF
##3963131.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)
#675B02
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#395F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396313;
/* rgb */ color: rgb(57, 99, 19);
/* oklch */ color: oklch(45.2% 0.117 133.8);
Tailwind
colors: {
  custom: {
    50: '#749058',
    500: '#396313',
    950: '#000000',
  },
}
SCSS
$custom: #396313;
$custom-light: #749058;
$custom-dark: #000000;
JSON
{
  "hex": "#396313",
  "rgb": {
    "r": 57,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 91.5,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.11717,
    "h": 133.8
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#396313
secondary
#6B379B
accent
#3DEB98
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #396313

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

Preview Lab → · Contrast checker → · Palette generator →

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