#334516#334516

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

Color values

HEX#334516
RGBrgb(51, 69, 22)
HSLhsl(83, 52%, 18%)
HSVhsv(83, 68%, 27%)
CMYKcmyk(26.1%, 0%, 68.1%, 72.9%)
CIE-LABlab(26.79, -15.91, 25.45)
CIE-LCHlch(26.79, 30.01, 122.02°)
OKLaboklab(36.34% -0.0451 0.0589)
OKLCHoklch(36.34% 0.074 127.4)
XYZxyz(3.6382, 5.0179, 1.5358)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334516 #281645
analogous
#453F16 #334516 #1B4516
triadic
#334516 #163345 #451633
tetradic
#334516 #16453F #281645 #45161B
square
#334516 #16453F #281645 #45161B
split-complementary
#334516 #161B45 #3F1645
monochromatic
#111707 #111707 #334516 #557325 #78A234

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334516#FFFFFF#000000##FFFFFF
##3345161.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)
#494011
Deuteranopia (green-blind)
#463F19
Tritanopia (blue-blind)
#35423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #334516;
/* rgb */ color: rgb(51, 69, 22);
/* oklch */ color: oklch(36.3% 0.074 127.4);
Tailwind
colors: {
  custom: {
    50: '#6c7855',
    500: '#334516',
    950: '#000000',
  },
}
SCSS
$custom: #334516;
$custom-light: #6c7855;
$custom-dark: #000000;
JSON
{
  "hex": "#334516",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 22
  },
  "hsl": {
    "h": 82.979,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.07414,
    "h": 127.4
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#334516
secondary
#543A7C
accent
#4DDB83
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334516

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

Preview Lab → · Contrast checker → · Palette generator →

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