#334517#334517

#334517 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.4% C 0.073 H 127.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#334517
RGBrgb(51, 69, 23)
HSLhsl(83, 50%, 18%)
HSVhsv(83, 67%, 27%)
CMYKcmyk(26.1%, 0%, 66.7%, 72.9%)
CIE-LABlab(26.80, -15.81, 24.93)
CIE-LCHlch(26.80, 29.52, 122.39°)
OKLaboklab(36.35% -0.0447 0.0579)
OKLCHoklch(36.35% 0.073 127.6)
XYZxyz(3.6480, 5.0218, 1.5876)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334517 #291745
analogous
#454017 #334517 #1C4517
triadic
#334517 #173345 #451733
tetradic
#334517 #174540 #291745 #45171C
square
#334517 #174540 #291745 #45171C
split-complementary
#334517 #171C45 #401745
monochromatic
#111708 #111708 #334517 #557326 #77A136

Accessibility & contrast

On white

10.48
#334517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#334517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334517
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334517#FFFFFF#000000##FFFFFF
##3345171.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494012
Deuteranopia (green-blind)
#463F1A
Tritanopia (blue-blind)
#35423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #334517;
/* rgb */ color: rgb(51, 69, 23);
/* oklch */ color: oklch(36.4% 0.073 127.6);
Tailwind
colors: {
  custom: {
    50: '#6c7856',
    500: '#334517',
    950: '#000000',
  },
}
SCSS
$custom: #334517;
$custom-light: #6c7856;
$custom-dark: #000000;
JSON
{
  "hex": "#334517",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 23
  },
  "hsl": {
    "h": 83.478,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36352,
    "c": 0.07314,
    "h": 127.6
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#334517
secondary
#553C7C
accent
#4EDA85
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334517

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

Preview Lab → · Contrast checker → · Palette generator →

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