#334F1A#334F1A

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

Color values

HEX#334F1A
RGBrgb(51, 79, 26)
HSLhsl(92, 50%, 21%)
HSVhsv(92, 67%, 31%)
CMYKcmyk(35.4%, 0%, 67.1%, 69%)
CIE-LABlab(30.33, -20.87, 27.30)
CIE-LCHlch(30.33, 34.37, 127.40°)
OKLaboklab(39.23% -0.0583 0.0634)
OKLCHoklch(39.23% 0.086 132.6)
XYZxyz(4.3476, 6.3702, 1.9776)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F1A #361A4F
analogous
#4D4F1A #334F1A #1A4F1B
triadic
#334F1A #1A334F #4F1A33
tetradic
#334F1A #1A4D4F #361A4F #4F1B1A
square
#334F1A #1A4D4F #361A4F #4F1B1A
split-complementary
#334F1A #1B1A4F #4F1A4D
monochromatic
#0F1708 #15210B #334F1A #517D29 #6EAB38

Accessibility & contrast

On white

9.23
#334F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334F1A
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334F1A#FFFFFF#000000##FFFFFF
##334F1A1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524914
Deuteranopia (green-blind)
#4E471E
Tritanopia (blue-blind)
#334C44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334f1a;
/* rgb */ color: rgb(51, 79, 26);
/* oklch */ color: oklch(39.2% 0.086 132.6);
Tailwind
colors: {
  custom: {
    50: '#6d8059',
    500: '#334f1a',
    950: '#000000',
  },
}
SCSS
$custom: #334f1a;
$custom-light: #6d8059;
$custom-dark: #000000;
JSON
{
  "hex": "#334f1a",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 26
  },
  "hsl": {
    "h": 91.698,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39228,
    "c": 0.08611,
    "h": 132.6
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#334F1A
secondary
#644085
accent
#4EDA98
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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