#396522#396522

#396522 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.9% C 0.109 H 136.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#396522
RGBrgb(57, 101, 34)
HSLhsl(99, 50%, 26%)
HSVhsv(99, 66%, 40%)
CMYKcmyk(43.6%, 0%, 66.3%, 60.4%)
CIE-LABlab(38.36, -28.50, 32.33)
CIE-LCHlch(38.36, 43.10, 131.40°)
OKLaboklab(45.9% -0.0789 0.075)
OKLCHoklch(45.9% 0.109 136.5)
XYZxyz(6.6296, 10.2923, 3.1504)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396522 #4E2265
analogous
#5B6522 #396522 #22652D
triadic
#396522 #223965 #652239
tetradic
#396522 #225B65 #4E2265 #652D22
square
#396522 #225B65 #4E2265 #652D22
split-complementary
#396522 #2D2265 #65225B
monochromatic
#0D1708 #1F3713 #396522 #539331 #6DBF42

Accessibility & contrast

On white

6.87
#396522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#396522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396522
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396522#FFFFFF#000000##FFFFFF
##3965221.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1A
Deuteranopia (green-blind)
#625927
Tritanopia (blue-blind)
#376157
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #396522;
/* rgb */ color: rgb(57, 101, 34);
/* oklch */ color: oklch(45.9% 0.109 136.5);
Tailwind
colors: {
  custom: {
    50: '#739160',
    500: '#396522',
    950: '#000000',
  },
}
SCSS
$custom: #396522;
$custom-light: #739160;
$custom-dark: #000000;
JSON
{
  "hex": "#396522",
  "rgb": {
    "r": 57,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 99.403,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45902,
    "c": 0.10883,
    "h": 136.5
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#396522
secondary
#7E4A99
accent
#4FD9AA
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#080D05
muted
#7B7D79

Preview Lab

Preview with #396522

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

Preview Lab → · Contrast checker → · Palette generator →

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