#334914#334914

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

Color values

HEX#334914
RGBrgb(51, 73, 20)
HSLhsl(85, 57%, 18%)
HSVhsv(85, 73%, 29%)
CMYKcmyk(30.1%, 0%, 72.6%, 71.4%)
CIE-LABlab(28.17, -18.30, 27.96)
CIE-LCHlch(28.17, 33.42, 123.20°)
OKLaboklab(37.45% -0.0518 0.0639)
OKLCHoklch(37.45% 0.082 129)
XYZxyz(3.8740, 5.5193, 1.5229)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334914 #2A1449
analogous
#494414 #334914 #184914
triadic
#334914 #143349 #491433
tetradic
#334914 #144944 #2A1449 #491418
square
#334914 #144944 #2A1449 #491418
split-complementary
#334914 #141849 #441449
monochromatic
#111807 #111907 #334914 #557921 #76A92E

Accessibility & contrast

On white

9.98
#334914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334914
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334914#FFFFFF#000000##FFFFFF
##3349141.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430D
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#35463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334914;
/* rgb */ color: rgb(51, 73, 20);
/* oklch */ color: oklch(37.5% 0.082 129.0);
Tailwind
colors: {
  custom: {
    50: '#6d7c55',
    500: '#334914',
    950: '#000000',
  },
}
SCSS
$custom: #334914;
$custom-light: #6d7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#334914",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 20
  },
  "hsl": {
    "h": 84.906,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.08228,
    "h": 129
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#334914
secondary
#563881
accent
#48E087
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334914

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

Preview Lab → · Contrast checker → · Palette generator →

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