#334919#334919

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

Color values

HEX#334919
RGBrgb(51, 73, 25)
HSLhsl(88, 49%, 19%)
HSVhsv(88, 66%, 29%)
CMYKcmyk(30.1%, 0%, 65.8%, 71.4%)
CIE-LABlab(28.22, -17.80, 25.46)
CIE-LCHlch(28.22, 31.07, 124.96°)
OKLaboklab(37.51% -0.05 0.0593)
OKLCHoklch(37.51% 0.078 130.1)
XYZxyz(3.9232, 5.5390, 1.7819)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334919 #2F1949
analogous
#494719 #334919 #1B4919
triadic
#334919 #193349 #491933
tetradic
#334919 #194947 #2F1949 #49191B
square
#334919 #194947 #2F1949 #49191B
split-complementary
#334919 #191B49 #471949
monochromatic
#101708 #131B09 #334919 #537729 #73A438

Accessibility & contrast

On white

9.96
#334919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334919
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334919#FFFFFF#000000##FFFFFF
##3349191.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4414
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#34463F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334919;
/* rgb */ color: rgb(51, 73, 25);
/* oklch */ color: oklch(37.5% 0.078 130.1);
Tailwind
colors: {
  custom: {
    50: '#6c7c58',
    500: '#334919',
    950: '#000000',
  },
}
SCSS
$custom: #334919;
$custom-light: #6c7c58;
$custom-dark: #000000;
JSON
{
  "hex": "#334919",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 25
  },
  "hsl": {
    "h": 87.5,
    "s": 48.98,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37511,
    "c": 0.07754,
    "h": 130.1
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#334919
secondary
#5C3E7F
accent
#4FD98E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334919

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

Preview Lab → · Contrast checker → · Palette generator →

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