#334916#334916

#334916 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.5% C 0.080 H 129.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#334916
RGBrgb(51, 73, 22)
HSLhsl(86, 54%, 19%)
HSVhsv(86, 70%, 29%)
CMYKcmyk(30.1%, 0%, 69.9%, 71.4%)
CIE-LABlab(28.19, -18.11, 26.99)
CIE-LCHlch(28.19, 32.50, 123.86°)
OKLaboklab(37.47% -0.0511 0.0621)
OKLCHoklch(37.47% 0.08 129.4)
XYZxyz(3.8926, 5.5267, 1.6206)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334916 #2C1649
analogous
#494516 #334916 #194916
triadic
#334916 #163349 #491633
tetradic
#334916 #164945 #2C1649 #491619
square
#334916 #164945 #2C1649 #491619
split-complementary
#334916 #161949 #451649
monochromatic
#101807 #121A08 #334916 #547824 #75A732

Accessibility & contrast

On white

9.97
#334916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#334916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334916
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334916#FFFFFF#000000##FFFFFF
##3349161.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4410
Deuteranopia (green-blind)
#4A421A
Tritanopia (blue-blind)
#35463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334916;
/* rgb */ color: rgb(51, 73, 22);
/* oklch */ color: oklch(37.5% 0.080 129.4);
Tailwind
colors: {
  custom: {
    50: '#6d7c56',
    500: '#334916',
    950: '#000000',
  },
}
SCSS
$custom: #334916;
$custom-light: #6d7c56;
$custom-dark: #000000;
JSON
{
  "hex": "#334916",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 85.882,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37474,
    "c": 0.08046,
    "h": 129.4
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#334916
secondary
#593A80
accent
#4BDD8A
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334916

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

Preview Lab → · Contrast checker → · Palette generator →

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