#334D16#334D16

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

Color values

HEX#334D16
RGBrgb(51, 77, 22)
HSLhsl(88, 56%, 19%)
HSVhsv(88, 71%, 30%)
CMYKcmyk(33.8%, 0%, 71.4%, 69.8%)
CIE-LABlab(29.59, -20.23, 28.50)
CIE-LCHlch(29.59, 34.95, 125.37°)
OKLaboklab(38.61% -0.0569 0.0654)
OKLCHoklch(38.61% 0.087 131.1)
XYZxyz(4.1639, 6.0694, 1.7110)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D16 #30164D
analogous
#4D4C16 #334D16 #174D16
triadic
#334D16 #16334D #4D1633
tetradic
#334D16 #164D4C #30164D #4D1617
square
#334D16 #164D4C #30164D #4D1617
split-complementary
#334D16 #16174D #4C164D
monochromatic
#101807 #131D08 #334D16 #537D24 #72AC31

Accessibility & contrast

On white

9.49
#334D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334D16
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334D16#FFFFFF#000000##FFFFFF
##334D161.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470F
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#344A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334d16;
/* rgb */ color: rgb(51, 77, 22);
/* oklch */ color: oklch(38.6% 0.087 131.1);
Tailwind
colors: {
  custom: {
    50: '#6d7f56',
    500: '#334d16',
    950: '#000000',
  },
}
SCSS
$custom: #334d16;
$custom-light: #6d7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#334d16",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 88.364,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38612,
    "c": 0.08668,
    "h": 131.1
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#334D16
secondary
#5D3A85
accent
#49DF90
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334D16

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

Preview Lab → · Contrast checker → · Palette generator →

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