#325012#325012

#325012 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.095 H 132.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#325012
RGBrgb(50, 80, 18)
HSLhsl(89, 63%, 19%)
HSVhsv(89, 78%, 31%)
CMYKcmyk(37.5%, 0%, 77.5%, 68.6%)
CIE-LABlab(30.54, -22.54, 31.33)
CIE-LCHlch(30.54, 38.60, 125.74°)
OKLaboklab(39.36% -0.0636 0.0707)
OKLCHoklch(39.36% 0.095 132)
XYZxyz(4.2932, 6.4589, 1.5926)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325012 #301250
analogous
#504F12 #325012 #135012
triadic
#325012 #123250 #501232
tetradic
#325012 #12504F #301250 #501213
square
#325012 #12504F #301250 #501213
split-complementary
#325012 #121350 #4F1250
monochromatic
#101906 #131E07 #325012 #51821D #70B428

Accessibility & contrast

On white

9.16
#325012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#325012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325012
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325012#FFFFFF#000000##FFFFFF
##3250121.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544908
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#334C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #325012;
/* rgb */ color: rgb(50, 80, 18);
/* oklch */ color: oklch(39.4% 0.095 132.0);
Tailwind
colors: {
  custom: {
    50: '#6d8154',
    500: '#325012',
    950: '#000000',
  },
}
SCSS
$custom: #325012;
$custom-light: #6d8154;
$custom-dark: #000000;
JSON
{
  "hex": "#325012",
  "rgb": {
    "r": 50,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 89.032,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.09506,
    "h": 132
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#325012
secondary
#5E3589
accent
#41E691
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #325012

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

Preview Lab → · Contrast checker → · Palette generator →

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