#325217#325217

#325217 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.094 H 133.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#325217
RGBrgb(50, 82, 23)
HSLhsl(93, 56%, 21%)
HSVhsv(93, 72%, 32%)
CMYKcmyk(39%, 0%, 72%, 67.8%)
CIE-LABlab(31.29, -23.11, 29.82)
CIE-LCHlch(31.29, 37.73, 127.78°)
OKLaboklab(39.98% -0.0647 0.0683)
OKLCHoklch(39.98% 0.094 133.4)
XYZxyz(4.4873, 6.7744, 1.8816)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325217 #371752
analogous
#4F5217 #325217 #175219
triadic
#325217 #173252 #521732
tetradic
#325217 #174F52 #371752 #521917
square
#325217 #174F52 #371752 #521917
split-complementary
#325217 #191752 #52174F
monochromatic
#0F1807 #15220A #325217 #4F8224 #6CB232

Accessibility & contrast

On white

8.92
#325217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#325217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325217
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325217#FFFFFF#000000##FFFFFF
##3252171.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#324F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #325217;
/* rgb */ color: rgb(50, 82, 23);
/* oklch */ color: oklch(40.0% 0.094 133.4);
Tailwind
colors: {
  custom: {
    50: '#6d8357',
    500: '#325217',
    950: '#000000',
  },
}
SCSS
$custom: #325217;
$custom-light: #6d8357;
$custom-dark: #000000;
JSON
{
  "hex": "#325217",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 92.542,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39984,
    "c": 0.09404,
    "h": 133.4
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#325217
secondary
#663C89
accent
#48DF9A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #325217

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

Preview Lab → · Contrast checker → · Palette generator →

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