#334A19#334A19

#334A19 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.079 H 130.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#334A19
RGBrgb(51, 74, 25)
HSLhsl(88, 49%, 19%)
HSVhsv(88, 66%, 29%)
CMYKcmyk(31.1%, 0%, 66.2%, 71%)
CIE-LABlab(28.57, -18.34, 25.85)
CIE-LCHlch(28.57, 31.70, 125.35°)
OKLaboklab(37.8% -0.0514 0.0601)
OKLCHoklch(37.8% 0.079 130.5)
XYZxyz(3.9895, 5.6714, 1.8040)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A19 #30194A
analogous
#4A4919 #334A19 #1B4A19
triadic
#334A19 #19334A #4A1933
tetradic
#334A19 #194A49 #30194A #4A191B
square
#334A19 #194A49 #30194A #4A191B
split-complementary
#334A19 #191B4A #49194A
monochromatic
#101708 #131C0A #334A19 #537828 #72A538

Accessibility & contrast

On white

9.84
#334A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#334A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A19
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A19#FFFFFF#000000##FFFFFF
##334A191.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4414
Deuteranopia (green-blind)
#4A431D
Tritanopia (blue-blind)
#34473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334a19;
/* rgb */ color: rgb(51, 74, 25);
/* oklch */ color: oklch(37.8% 0.079 130.5);
Tailwind
colors: {
  custom: {
    50: '#6c7c58',
    500: '#334a19',
    950: '#000000',
  },
}
SCSS
$custom: #334a19;
$custom-light: #6c7c58;
$custom-dark: #000000;
JSON
{
  "hex": "#334a19",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 88.163,
    "s": 49.495,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37795,
    "c": 0.07914,
    "h": 130.5
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#334A19
secondary
#5D3E80
accent
#4FD990
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334A19

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

Preview Lab → · Contrast checker → · Palette generator →

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