#334D1D#334D1D

#334D1D is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.080 H 132.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#334D1D
RGBrgb(51, 77, 29)
HSLhsl(93, 45%, 21%)
HSVhsv(93, 62%, 30%)
CMYKcmyk(33.8%, 0%, 62.3%, 69.8%)
CIE-LABlab(29.66, -19.49, 24.96)
CIE-LCHlch(29.66, 31.66, 127.98°)
OKLaboklab(38.7% -0.0542 0.0587)
OKLCHoklch(38.7% 0.08 132.7)
XYZxyz(4.2408, 6.1001, 2.1162)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D1D #371D4D
analogous
#4B4D1D #334D1D #1D4D1F
triadic
#334D1D #1D334D #4D1D33
tetradic
#334D1D #1D4B4D #371D4D #4D1F1D
square
#334D1D #1D4B4D #371D4D #4D1F1D
split-complementary
#334D1D #1F1D4D #4D1D4B
monochromatic
#0F1608 #16210C #334D1D #50792E #6EA63E

Accessibility & contrast

On white

9.46
#334D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#334D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334D1D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334D1D#FFFFFF#000000##FFFFFF
##334D1D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504718
Deuteranopia (green-blind)
#4C4520
Tritanopia (blue-blind)
#334A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334d1d;
/* rgb */ color: rgb(51, 77, 29);
/* oklch */ color: oklch(38.7% 0.080 132.7);
Tailwind
colors: {
  custom: {
    50: '#6c7f5b',
    500: '#334d1d',
    950: '#000000',
  },
}
SCSS
$custom: #334d1d;
$custom-light: #6c7f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#334d1d",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 29
  },
  "hsl": {
    "h": 92.5,
    "s": 45.283,
    "l": 20.784
  },
  "oklch": {
    "l": 0.387,
    "c": 0.07991,
    "h": 132.7
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#334D1D
secondary
#664482
accent
#53D599
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #334D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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