#334D14#334D14

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

Color values

HEX#334D14
RGBrgb(51, 77, 20)
HSLhsl(87, 59%, 19%)
HSVhsv(87, 74%, 30%)
CMYKcmyk(33.8%, 0%, 74%, 69.8%)
CIE-LABlab(29.57, -20.41, 29.44)
CIE-LCHlch(29.57, 35.83, 124.74°)
OKLaboklab(38.59% -0.0576 0.067)
OKLCHoklch(38.59% 0.088 130.7)
XYZxyz(4.1454, 6.0619, 1.6133)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D14 #2E144D
analogous
#4D4B14 #334D14 #174D14
triadic
#334D14 #14334D #4D1433
tetradic
#334D14 #144D4B #2E144D #4D1417
square
#334D14 #144D4B #2E144D #4D1417
split-complementary
#334D14 #14174D #4B144D
monochromatic
#101806 #131C07 #334D14 #537E21 #73AE2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334D14#FFFFFF#000000##FFFFFF
##334D141.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)
#51470C
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#344941
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334d14;
/* rgb */ color: rgb(51, 77, 20);
/* oklch */ color: oklch(38.6% 0.088 130.7);
Tailwind
colors: {
  custom: {
    50: '#6d7f55',
    500: '#334d14',
    950: '#000000',
  },
}
SCSS
$custom: #334d14;
$custom-light: #6d7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#334d14",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 87.368,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38591,
    "c": 0.0884,
    "h": 130.7
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#334D14
secondary
#5B3885
accent
#46E28D
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334D14

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

Preview Lab → · Contrast checker → · Palette generator →

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