#334913#334913

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

Color values

HEX#334913
RGBrgb(51, 73, 19)
HSLhsl(84, 59%, 18%)
HSVhsv(84, 74%, 29%)
CMYKcmyk(30.1%, 0%, 74%, 71.4%)
CIE-LABlab(28.16, -18.39, 28.43)
CIE-LCHlch(28.16, 33.86, 122.89°)
OKLaboklab(37.44% -0.0522 0.0647)
OKLCHoklch(37.44% 0.083 128.9)
XYZxyz(3.8653, 5.5158, 1.4770)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334913 #291349
analogous
#494413 #334913 #184913
triadic
#334913 #133349 #491333
tetradic
#334913 #134944 #291349 #491318
square
#334913 #134944 #291349 #491318
split-complementary
#334913 #131849 #441349
monochromatic
#111806 #111806 #334913 #557A20 #77AA2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334913#FFFFFF#000000##FFFFFF
##3349131.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)
#4D430C
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#35463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334913;
/* rgb */ color: rgb(51, 73, 19);
/* oklch */ color: oklch(37.4% 0.083 128.9);
Tailwind
colors: {
  custom: {
    50: '#6d7c54',
    500: '#334913',
    950: '#000000',
  },
}
SCSS
$custom: #334913;
$custom-light: #6d7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#334913",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 19
  },
  "hsl": {
    "h": 84.444,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37441,
    "c": 0.08315,
    "h": 128.9
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#334913
secondary
#553682
accent
#46E285
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334913

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

Preview Lab → · Contrast checker → · Palette generator →

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