#334D13#334D13

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

Color values

HEX#334D13
RGBrgb(51, 77, 19)
HSLhsl(87, 60%, 19%)
HSVhsv(87, 75%, 30%)
CMYKcmyk(33.8%, 0%, 75.3%, 69.8%)
CIE-LABlab(29.56, -20.50, 29.90)
CIE-LCHlch(29.56, 36.25, 124.44°)
OKLaboklab(38.58% -0.058 0.0678)
OKLCHoklch(38.58% 0.089 130.5)
XYZxyz(4.1366, 6.0584, 1.5674)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D13 #2D134D
analogous
#4D4A13 #334D13 #164D13
triadic
#334D13 #13334D #4D1333
tetradic
#334D13 #134D4A #2D134D #4D1316
square
#334D13 #134D4A #2D134D #4D1316
split-complementary
#334D13 #13164D #4A134D
monochromatic
#101906 #121C07 #334D13 #547E1F #74AF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334D13#FFFFFF#000000##FFFFFF
##334D131.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)
#51470A
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#344941
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334d13;
/* rgb */ color: rgb(51, 77, 19);
/* oklch */ color: oklch(38.6% 0.089 130.5);
Tailwind
colors: {
  custom: {
    50: '#6d7f54',
    500: '#334d13',
    950: '#000000',
  },
}
SCSS
$custom: #334d13;
$custom-light: #6d7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#334d13",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 86.897,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38581,
    "c": 0.08922,
    "h": 130.5
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#334D13
secondary
#5A3686
accent
#44E48C
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334D13

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

Preview Lab → · Contrast checker → · Palette generator →

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