#334417#334417

#334417 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.1% C 0.072 H 127.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#334417
RGBrgb(51, 68, 23)
HSLhsl(83, 49%, 18%)
HSVhsv(83, 66%, 27%)
CMYKcmyk(25%, 0%, 66.2%, 73.3%)
CIE-LABlab(26.45, -15.25, 24.54)
CIE-LCHlch(26.45, 28.89, 121.86°)
OKLaboklab(36.07% -0.0431 0.0571)
OKLCHoklch(36.07% 0.072 127.1)
XYZxyz(3.5870, 4.8999, 1.5672)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334417 #281744
analogous
#443E17 #334417 #1C4417
triadic
#334417 #173344 #441733
tetradic
#334417 #17443E #281744 #44171C
square
#334417 #17443E #281744 #44171C
split-complementary
#334417 #171C44 #3E1744
monochromatic
#111708 #111708 #334417 #557226 #789F36

Accessibility & contrast

On white

10.61
#334417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#334417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334417
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334417#FFFFFF#000000##FFFFFF
##3344171.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F12
Deuteranopia (green-blind)
#453E1A
Tritanopia (blue-blind)
#35413A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #334417;
/* rgb */ color: rgb(51, 68, 23);
/* oklch */ color: oklch(36.1% 0.072 127.1);
Tailwind
colors: {
  custom: {
    50: '#6c7856',
    500: '#334417',
    950: '#000000',
  },
}
SCSS
$custom: #334417;
$custom-light: #6c7856;
$custom-dark: #000000;
JSON
{
  "hex": "#334417",
  "rgb": {
    "r": 51,
    "g": 68,
    "b": 23
  },
  "hsl": {
    "h": 82.667,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3607,
    "c": 0.07152,
    "h": 127.1
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#334417
secondary
#543C7B
accent
#4FD983
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070803
muted
#7A7B78

Preview Lab

Preview with #334417

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

Preview Lab → · Contrast checker → · Palette generator →

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