#334D0D#334D0D

#334D0D is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.094 H 129.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#334D0D
RGBrgb(51, 77, 13)
HSLhsl(84, 71%, 18%)
HSVhsv(84, 83%, 30%)
CMYKcmyk(33.8%, 0%, 83.1%, 69.8%)
CIE-LABlab(29.51, -20.95, 32.40)
CIE-LCHlch(29.51, 38.58, 122.88°)
OKLaboklab(38.53% -0.0597 0.072)
OKLCHoklch(38.53% 0.094 129.7)
XYZxyz(4.0917, 6.0405, 1.3310)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D0D #270D4D
analogous
#4D470D #334D0D #134D0D
triadic
#334D0D #0D334D #4D0D33
tetradic
#334D0D #0D4D47 #270D4D #4D0D13
square
#334D0D #0D4D47 #270D4D #4D0D13
split-complementary
#334D0D #0D134D #470D4D
monochromatic
#111A04 #111A04 #334D0D #568116 #78B61F

Accessibility & contrast

On white

9.51
#334D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334D0D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334D0D#FFFFFF#000000##FFFFFF
##334D0D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514702
Deuteranopia (green-blind)
#4D4513
Tritanopia (blue-blind)
#354941
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334d0d;
/* rgb */ color: rgb(51, 77, 13);
/* oklch */ color: oklch(38.5% 0.094 129.7);
Tailwind
colors: {
  custom: {
    50: '#6e7f51',
    500: '#334d0d',
    950: '#000000',
  },
}
SCSS
$custom: #334d0d;
$custom-light: #6e7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#334d0d",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 84.375,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3853,
    "c": 0.09357,
    "h": 129.7
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#334D0D
secondary
#522E88
accent
#3AEE83
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #334D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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