#325112#325112

#325112 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.6% C 0.097 H 132.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#325112
RGBrgb(50, 81, 18)
HSLhsl(90, 64%, 19%)
HSVhsv(90, 78%, 32%)
CMYKcmyk(38.3%, 0%, 77.8%, 68.2%)
CIE-LABlab(30.89, -23.05, 31.69)
CIE-LCHlch(30.89, 39.18, 126.03°)
OKLaboklab(39.65% -0.0649 0.0714)
OKLCHoklch(39.65% 0.097 132.3)
XYZxyz(4.3669, 6.6065, 1.6172)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325112 #311251
analogous
#515112 #325112 #135112
triadic
#325112 #123251 #511232
tetradic
#325112 #125151 #311251 #511213
square
#325112 #125151 #311251 #511213
split-complementary
#325112 #121351 #511251
monochromatic
#0F1906 #131F07 #325112 #51831D #70B528

Accessibility & contrast

On white

9.05
#325112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#325112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325112
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325112#FFFFFF#000000##FFFFFF
##3251121.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A08
Deuteranopia (green-blind)
#504818
Tritanopia (blue-blind)
#334D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #325112;
/* rgb */ color: rgb(50, 81, 18);
/* oklch */ color: oklch(39.6% 0.097 132.3);
Tailwind
colors: {
  custom: {
    50: '#6d8254',
    500: '#325112',
    950: '#000000',
  },
}
SCSS
$custom: #325112;
$custom-light: #6d8254;
$custom-dark: #000000;
JSON
{
  "hex": "#325112",
  "rgb": {
    "r": 50,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 89.524,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.09652,
    "h": 132.3
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#325112
secondary
#5F358A
accent
#41E793
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #325112

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

Preview Lab → · Contrast checker → · Palette generator →

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