#334E19#334E19

#334E19 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.9% C 0.085 H 132.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#334E19
RGBrgb(51, 78, 25)
HSLhsl(91, 51%, 20%)
HSVhsv(91, 68%, 31%)
CMYKcmyk(34.6%, 0%, 67.9%, 69.4%)
CIE-LABlab(29.97, -20.46, 27.42)
CIE-LCHlch(29.97, 34.21, 126.73°)
OKLaboklab(38.93% -0.0573 0.0635)
OKLCHoklch(38.93% 0.085 132.1)
XYZxyz(4.2650, 6.2226, 1.8959)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E19 #34194E
analogous
#4D4E19 #334E19 #194E1A
triadic
#334E19 #19334E #4E1933
tetradic
#334E19 #194D4E #34194E #4E1A19
square
#334E19 #194D4E #34194E #4E1A19
split-complementary
#334E19 #1A194E #4E194D
monochromatic
#0F1707 #15200A #334E19 #517C28 #70AB37

Accessibility & contrast

On white

9.36
#334E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#334E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334E19
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334E19#FFFFFF#000000##FFFFFF
##334E191.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514813
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#344B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334e19;
/* rgb */ color: rgb(51, 78, 25);
/* oklch */ color: oklch(38.9% 0.085 132.1);
Tailwind
colors: {
  custom: {
    50: '#6d7f58',
    500: '#334e19',
    950: '#000000',
  },
}
SCSS
$custom: #334e19;
$custom-light: #6d7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#334e19",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 90.566,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38932,
    "c": 0.08549,
    "h": 132.1
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#334E19
secondary
#623E84
accent
#4DDB95
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334E19

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

Preview Lab → · Contrast checker → · Palette generator →

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