#396223#396223

#396223 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.1% C 0.103 H 136.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#396223
RGBrgb(57, 98, 35)
HSLhsl(99, 47%, 26%)
HSVhsv(99, 64%, 38%)
CMYKcmyk(41.8%, 0%, 64.3%, 61.6%)
CIE-LABlab(37.35, -26.97, 30.70)
CIE-LCHlch(37.35, 40.86, 131.30°)
OKLaboklab(45.08% -0.0746 0.0716)
OKLCHoklch(45.08% 0.103 136.2)
XYZxyz(6.3582, 9.7262, 3.1321)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396223 #4C2362
analogous
#586223 #396223 #23622C
triadic
#396223 #233962 #622339
tetradic
#396223 #235862 #4C2362 #622C23
square
#396223 #235862 #4C2362 #622C23
split-complementary
#396223 #2C2362 #622358
monochromatic
#0D1708 #1F3513 #396223 #538F33 #6EBC43

Accessibility & contrast

On white

7.13
#396223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#396223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396223
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396223#FFFFFF#000000##FFFFFF
##3962231.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1C
Deuteranopia (green-blind)
#605728
Tritanopia (blue-blind)
#385E54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396223;
/* rgb */ color: rgb(57, 98, 35);
/* oklch */ color: oklch(45.1% 0.103 136.2);
Tailwind
colors: {
  custom: {
    50: '#738f60',
    500: '#396223',
    950: '#000000',
  },
}
SCSS
$custom: #396223;
$custom-light: #738f60;
$custom-dark: #000000;
JSON
{
  "hex": "#396223",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 99.048,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.10344,
    "h": 136.2
  },
  "luminance": 0.09727
}

Semantic roles & 50–950 ramp

primary
#396223
secondary
#7C4B96
accent
#51D7A8
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#080C05
muted
#7B7D79

Preview Lab

Preview with #396223

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

Preview Lab → · Contrast checker → · Palette generator →

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