#325212#325212

#325212 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.098 H 132.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#325212
RGBrgb(50, 82, 18)
HSLhsl(90, 64%, 20%)
HSVhsv(90, 78%, 32%)
CMYKcmyk(39%, 0%, 78%, 67.8%)
CIE-LABlab(31.25, -23.55, 32.04)
CIE-LCHlch(31.25, 39.76, 126.31°)
OKLaboklab(39.94% -0.0663 0.0722)
OKLCHoklch(39.94% 0.098 132.6)
XYZxyz(4.4418, 6.7562, 1.6422)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325212 #321252
analogous
#525212 #325212 #125212
triadic
#325212 #123252 #521232
tetradic
#325212 #125252 #321252 #521212
square
#325212 #125252 #321252 #521212
split-complementary
#325212 #121252 #521252
monochromatic
#0F1906 #132007 #325212 #51841D #6FB628

Accessibility & contrast

On white

8.93
#325212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#325212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325212
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325212#FFFFFF#000000##FFFFFF
##3252121.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#324E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #325212;
/* rgb */ color: rgb(50, 82, 18);
/* oklch */ color: oklch(39.9% 0.098 132.6);
Tailwind
colors: {
  custom: {
    50: '#6d8355',
    500: '#325212',
    950: '#000000',
  },
}
SCSS
$custom: #325212;
$custom-light: #6d8355;
$custom-dark: #000000;
JSON
{
  "hex": "#325212",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 90,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.09799,
    "h": 132.6
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#325212
secondary
#60358B
accent
#41E794
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #325212

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

Preview Lab → · Contrast checker → · Palette generator →

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