#334911#334911

#334911 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.085 H 128.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#334911
RGBrgb(51, 73, 17)
HSLhsl(84, 62%, 18%)
HSVhsv(84, 77%, 29%)
CMYKcmyk(30.1%, 0%, 76.7%, 71.4%)
CIE-LABlab(28.14, -18.55, 29.35)
CIE-LCHlch(28.14, 34.72, 122.30°)
OKLaboklab(37.42% -0.0528 0.0663)
OKLCHoklch(37.42% 0.085 128.5)
XYZxyz(3.8490, 5.5093, 1.3908)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334911 #271149
analogous
#494311 #334911 #174911
triadic
#334911 #113349 #491133
tetradic
#334911 #114943 #271149 #491117
square
#334911 #114943 #271149 #491117
split-complementary
#334911 #111749 #431149
monochromatic
#111906 #111906 #334911 #567B1D #78AC28

Accessibility & contrast

On white

9.99
#334911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#334911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334911
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334911#FFFFFF#000000##FFFFFF
##3349111.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4308
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#35453E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334911;
/* rgb */ color: rgb(51, 73, 17);
/* oklch */ color: oklch(37.4% 0.085 128.5);
Tailwind
colors: {
  custom: {
    50: '#6d7c53',
    500: '#334911',
    950: '#000000',
  },
}
SCSS
$custom: #334911;
$custom-light: #6d7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#334911",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 83.571,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37421,
    "c": 0.0848,
    "h": 128.5
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#334911
secondary
#523382
accent
#43E582
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334911

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

Preview Lab → · Contrast checker → · Palette generator →

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