#325412#325412

#325412 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.101 H 133.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#325412
RGBrgb(50, 84, 18)
HSLhsl(91, 65%, 20%)
HSVhsv(91, 79%, 33%)
CMYKcmyk(40.5%, 0%, 78.6%, 67.1%)
CIE-LABlab(31.95, -24.53, 32.75)
CIE-LCHlch(31.95, 40.92, 126.83°)
OKLaboklab(40.51% -0.0689 0.0736)
OKLCHoklch(40.51% 0.101 133.1)
XYZxyz(4.5948, 7.0622, 1.6932)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325412 #341254
analogous
#535412 #325412 #125413
triadic
#325412 #123254 #541232
tetradic
#325412 #125354 #341254 #541312
square
#325412 #125354 #341254 #541312
split-complementary
#325412 #131254 #541253
monochromatic
#0F1905 #142207 #325412 #50861D #6EB928

Accessibility & contrast

On white

8.71
#325412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#325412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #325412
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325412#FFFFFF#000000##FFFFFF
##3254121.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#325047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #325412;
/* rgb */ color: rgb(50, 84, 18);
/* oklch */ color: oklch(40.5% 0.101 133.1);
Tailwind
colors: {
  custom: {
    50: '#6d8455',
    500: '#325412',
    950: '#000000',
  },
}
SCSS
$custom: #325412;
$custom-light: #6d8455;
$custom-dark: #000000;
JSON
{
  "hex": "#325412",
  "rgb": {
    "r": 50,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 90.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.10088,
    "h": 133.1
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#325412
secondary
#62358D
accent
#40E896
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #325412

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

Preview Lab → · Contrast checker → · Palette generator →

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