#334D19#334D19

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

Color values

HEX#334D19
RGBrgb(51, 77, 25)
HSLhsl(90, 51%, 20%)
HSVhsv(90, 68%, 30%)
CMYKcmyk(33.8%, 0%, 67.5%, 69.8%)
CIE-LABlab(29.62, -19.93, 27.03)
CIE-LCHlch(29.62, 33.58, 126.41°)
OKLaboklab(38.65% -0.0558 0.0626)
OKLCHoklch(38.65% 0.084 131.7)
XYZxyz(4.1945, 6.0816, 1.8724)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D19 #33194D
analogous
#4D4D19 #334D19 #194D19
triadic
#334D19 #19334D #4D1933
tetradic
#334D19 #194D4D #33194D #4D1919
square
#334D19 #194D4D #33194D #4D1919
split-complementary
#334D19 #19194D #4D194D
monochromatic
#0F1708 #141F0A #334D19 #527B28 #70A937

Accessibility & contrast

On white

9.47
#334D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334D19
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334D19#FFFFFF#000000##FFFFFF
##334D191.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#344A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334d19;
/* rgb */ color: rgb(51, 77, 25);
/* oklch */ color: oklch(38.6% 0.084 131.7);
Tailwind
colors: {
  custom: {
    50: '#6d7f58',
    500: '#334d19',
    950: '#000000',
  },
}
SCSS
$custom: #334d19;
$custom-light: #6d7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#334d19",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 25
  },
  "hsl": {
    "h": 90,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.38647,
    "c": 0.08392,
    "h": 131.7
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#334D19
secondary
#613E83
accent
#4DDA94
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334D19

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

Preview Lab → · Contrast checker → · Palette generator →

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