#325312#325312

#325312 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.099 H 132.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#325312
RGBrgb(50, 83, 18)
HSLhsl(90, 64%, 20%)
HSVhsv(90, 78%, 33%)
CMYKcmyk(39.8%, 0%, 78.3%, 67.5%)
CIE-LABlab(31.60, -24.04, 32.40)
CIE-LCHlch(31.60, 40.34, 126.58°)
OKLaboklab(40.22% -0.0676 0.0729)
OKLCHoklch(40.22% 0.099 132.8)
XYZxyz(4.5178, 6.9081, 1.6675)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325312 #331253
analogous
#525312 #325312 #125313
triadic
#325312 #123253 #531232
tetradic
#325312 #125253 #331253 #531312
square
#325312 #125253 #331253 #531312
split-complementary
#325312 #131253 #531252
monochromatic
#0F1905 #142107 #325312 #50851D #6FB828

Accessibility & contrast

On white

8.82
#325312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#325312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325312
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325312#FFFFFF#000000##FFFFFF
##3253121.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#324F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #325312;
/* rgb */ color: rgb(50, 83, 18);
/* oklch */ color: oklch(40.2% 0.099 132.8);
Tailwind
colors: {
  custom: {
    50: '#6d8355',
    500: '#325312',
    950: '#000000',
  },
}
SCSS
$custom: #325312;
$custom-light: #6d8355;
$custom-dark: #000000;
JSON
{
  "hex": "#325312",
  "rgb": {
    "r": 50,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 90.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40223,
    "c": 0.09944,
    "h": 132.8
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#325312
secondary
#61358C
accent
#40E795
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #325312

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

Preview Lab → · Contrast checker → · Palette generator →

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