#334D11#334D11

#334D11 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.091 H 130.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#334D11
RGBrgb(51, 77, 17)
HSLhsl(86, 64%, 18%)
HSVhsv(86, 78%, 30%)
CMYKcmyk(33.8%, 0%, 77.9%, 69.8%)
CIE-LABlab(29.54, -20.66, 30.78)
CIE-LCHlch(29.54, 37.07, 123.87°)
OKLaboklab(38.56% -0.0586 0.0693)
OKLCHoklch(38.56% 0.091 130.2)
XYZxyz(4.1203, 6.0519, 1.4813)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D11 #2B114D
analogous
#4D4911 #334D11 #154D11
triadic
#334D11 #11334D #4D1133
tetradic
#334D11 #114D49 #2B114D #4D1115
square
#334D11 #114D49 #2B114D #4D1115
split-complementary
#334D11 #11154D #49114D
monochromatic
#111906 #121B06 #334D11 #547F1C #75B127

Accessibility & contrast

On white

9.50
#334D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#334D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334D11
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334D11#FFFFFF#000000##FFFFFF
##334D111.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#344941
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334d11;
/* rgb */ color: rgb(51, 77, 17);
/* oklch */ color: oklch(38.6% 0.091 130.2);
Tailwind
colors: {
  custom: {
    50: '#6d7f53',
    500: '#334d11',
    950: '#000000',
  },
}
SCSS
$custom: #334d11;
$custom-light: #6d7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#334d11",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 86,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38563,
    "c": 0.09078,
    "h": 130.2
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#334D11
secondary
#573386
accent
#41E789
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334D11

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

Preview Lab → · Contrast checker → · Palette generator →

#334D11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva