#334121#334121

#334121 is a dark, muted yellow-green. Relative luminance 0.046; OKLCH L 35.4% C 0.055 H 128.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#334121
RGBrgb(51, 65, 33)
HSLhsl(86, 33%, 19%)
HSVhsv(86, 49%, 25%)
CMYKcmyk(21.5%, 0%, 49.2%, 74.5%)
CIE-LABlab(25.55, -12.26, 17.66)
CIE-LCHlch(25.55, 21.50, 124.76°)
OKLaboklab(35.39% -0.0338 0.0429)
OKLCHoklch(35.39% 0.055 128.2)
XYZxyz(3.5300, 4.5942, 2.1393)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334121 #2F2141
analogous
#413F21 #334121 #234121
triadic
#334121 #213341 #412133
tetradic
#334121 #21413F #2F2141 #412123
square
#334121 #21413F #2F2141 #412123
split-complementary
#334121 #212341 #3F2141
monochromatic
#10140A #13180C #334121 #536A36 #73924A

Accessibility & contrast

On white

10.94
#334121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#334121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334121
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334121#FFFFFF#000000##FFFFFF
##3341211.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1E
Deuteranopia (green-blind)
#423C23
Tritanopia (blue-blind)
#343E39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #334121;
/* rgb */ color: rgb(51, 65, 33);
/* oklch */ color: oklch(35.4% 0.055 128.2);
Tailwind
colors: {
  custom: {
    50: '#6b755d',
    500: '#334121',
    950: '#000000',
  },
}
SCSS
$custom: #334121;
$custom-light: #6b755d;
$custom-dark: #000000;
JSON
{
  "hex": "#334121",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 33
  },
  "hsl": {
    "h": 86.25,
    "s": 32.653,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35388,
    "c": 0.05467,
    "h": 128.2
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#334121
secondary
#5C4975
accent
#5FC98D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070804
muted
#7A7B79

Preview Lab

Preview with #334121

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

Preview Lab → · Contrast checker → · Palette generator →

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