#396312#396312

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

Color values

HEX#396312
RGBrgb(57, 99, 18)
HSLhsl(91, 69%, 23%)
HSVhsv(91, 82%, 39%)
CMYKcmyk(42.4%, 0%, 81.8%, 61.2%)
CIE-LABlab(37.55, -28.91, 38.34)
CIE-LCHlch(37.55, 48.02, 127.01°)
OKLaboklab(45.2% -0.0813 0.0852)
OKLCHoklch(45.2% 0.118 133.7)
XYZxyz(6.2583, 9.8369, 2.1411)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396312 #3C1263
analogous
#616312 #396312 #126313
triadic
#396312 #123963 #631239
tetradic
#396312 #126163 #3C1263 #631312
square
#396312 #126163 #3C1263 #631312
split-complementary
#396312 #131263 #631261
monochromatic
#0F1A05 #1B2F09 #396312 #57971B #75CB25

Accessibility & contrast

On white

7.08
#396312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #396312
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396312#FFFFFF#000000##FFFFFF
##3963121.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#395F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396312;
/* rgb */ color: rgb(57, 99, 18);
/* oklch */ color: oklch(45.2% 0.118 133.7);
Tailwind
colors: {
  custom: {
    50: '#749057',
    500: '#396312',
    950: '#000000',
  },
}
SCSS
$custom: #396312;
$custom-light: #749057;
$custom-dark: #000000;
JSON
{
  "hex": "#396312",
  "rgb": {
    "r": 57,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 91.111,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.11777,
    "h": 133.7
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#396312
secondary
#6A369B
accent
#3CEC97
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #396312

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

Preview Lab → · Contrast checker → · Palette generator →

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