#334C19#334C19

#334C19 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.4% C 0.082 H 131.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#334C19
RGBrgb(51, 76, 25)
HSLhsl(89, 50%, 20%)
HSVhsv(89, 67%, 30%)
CMYKcmyk(32.9%, 0%, 67.1%, 70.2%)
CIE-LABlab(29.27, -19.41, 26.64)
CIE-LCHlch(29.27, 32.96, 126.07°)
OKLaboklab(38.36% -0.0544 0.0618)
OKLCHoklch(38.36% 0.082 131.3)
XYZxyz(4.1251, 5.9427, 1.8492)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C19 #32194C
analogous
#4C4C19 #334C19 #194C19
triadic
#334C19 #19334C #4C1933
tetradic
#334C19 #194C4C #32194C #4C1919
square
#334C19 #194C4C #32194C #4C1919
split-complementary
#334C19 #19194C #4C194C
monochromatic
#0F1708 #141E0A #334C19 #527A28 #71A837

Accessibility & contrast

On white

9.60
#334C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#334C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C19
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C19#FFFFFF#000000##FFFFFF
##334C191.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4613
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#344941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334c19;
/* rgb */ color: rgb(51, 76, 25);
/* oklch */ color: oklch(38.4% 0.082 131.3);
Tailwind
colors: {
  custom: {
    50: '#6d7e58',
    500: '#334c19',
    950: '#000000',
  },
}
SCSS
$custom: #334c19;
$custom-light: #6d7e58;
$custom-dark: #000000;
JSON
{
  "hex": "#334c19",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 25
  },
  "hsl": {
    "h": 89.412,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38363,
    "c": 0.08233,
    "h": 131.3
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#334C19
secondary
#603E82
accent
#4EDA93
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334C19

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

Preview Lab → · Contrast checker → · Palette generator →

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