#334F19#334F19

#334F19 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.087 H 132.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#334F19
RGBrgb(51, 79, 25)
HSLhsl(91, 52%, 20%)
HSVhsv(91, 68%, 31%)
CMYKcmyk(35.4%, 0%, 68.4%, 69%)
CIE-LABlab(30.32, -20.98, 27.80)
CIE-LCHlch(30.32, 34.83, 127.03°)
OKLaboklab(39.22% -0.0587 0.0643)
OKLCHoklch(39.22% 0.087 132.4)
XYZxyz(4.3366, 6.3658, 1.9197)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F19 #35194F
analogous
#4E4F19 #334F19 #194F1A
triadic
#334F19 #19334F #4F1933
tetradic
#334F19 #194E4F #35194F #4F1A19
square
#334F19 #194E4F #35194F #4F1A19
split-complementary
#334F19 #1A194F #4F194E
monochromatic
#0F1707 #15210A #334F19 #517D28 #6FAC36

Accessibility & contrast

On white

9.24
#334F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#334F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334F19
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334F19#FFFFFF#000000##FFFFFF
##334F191.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524913
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#344C44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334f19;
/* rgb */ color: rgb(51, 79, 25);
/* oklch */ color: oklch(39.2% 0.087 132.4);
Tailwind
colors: {
  custom: {
    50: '#6d8058',
    500: '#334f19',
    950: '#000000',
  },
}
SCSS
$custom: #334f19;
$custom-light: #6d8058;
$custom-dark: #000000;
JSON
{
  "hex": "#334f19",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 91.111,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39216,
    "c": 0.08706,
    "h": 132.4
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#334F19
secondary
#633E85
accent
#4CDB97
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334F19

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

Preview Lab → · Contrast checker → · Palette generator →

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