#334A16#334A16

#334A16 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.082 H 129.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#334A16
RGBrgb(51, 74, 22)
HSLhsl(87, 54%, 19%)
HSVhsv(87, 70%, 29%)
CMYKcmyk(31.1%, 0%, 70.3%, 71%)
CIE-LABlab(28.54, -18.65, 27.37)
CIE-LCHlch(28.54, 33.12, 124.27°)
OKLaboklab(37.76% -0.0526 0.063)
OKLCHoklch(37.76% 0.082 129.9)
XYZxyz(3.9588, 5.6592, 1.6427)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A16 #2D164A
analogous
#4A4716 #334A16 #194A16
triadic
#334A16 #16334A #4A1633
tetradic
#334A16 #164A47 #2D164A #4A1619
square
#334A16 #164A47 #2D164A #4A1619
split-complementary
#334A16 #16194A #47164A
monochromatic
#101807 #121B08 #334A16 #547924 #74A832

Accessibility & contrast

On white

9.85
#334A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#334A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A16
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A16#FFFFFF#000000##FFFFFF
##334A161.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4410
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#34473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334a16;
/* rgb */ color: rgb(51, 74, 22);
/* oklch */ color: oklch(37.8% 0.082 129.9);
Tailwind
colors: {
  custom: {
    50: '#6d7c56',
    500: '#334a16',
    950: '#000000',
  },
}
SCSS
$custom: #334a16;
$custom-light: #6d7c56;
$custom-dark: #000000;
JSON
{
  "hex": "#334a16",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 86.538,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37758,
    "c": 0.08203,
    "h": 129.9
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#334A16
secondary
#5A3A82
accent
#4ADE8B
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334A16

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

Preview Lab → · Contrast checker → · Palette generator →

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