#334A13#334A13

#334A13 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.085 H 129.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#334A13
RGBrgb(51, 74, 19)
HSLhsl(85, 59%, 18%)
HSVhsv(85, 74%, 29%)
CMYKcmyk(31.1%, 0%, 74.3%, 71%)
CIE-LABlab(28.51, -18.92, 28.80)
CIE-LCHlch(28.51, 34.46, 123.30°)
OKLaboklab(37.73% -0.0536 0.0655)
OKLCHoklch(37.73% 0.085 129.3)
XYZxyz(3.9315, 5.6483, 1.4991)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A13 #2A134A
analogous
#4A4513 #334A13 #174A13
triadic
#334A13 #13334A #4A1333
tetradic
#334A13 #134A45 #2A134A #4A1317
square
#334A13 #134A45 #2A134A #4A1317
split-complementary
#334A13 #13174A #45134A
monochromatic
#111806 #111906 #334A13 #557B20 #76AB2C

Accessibility & contrast

On white

9.86
#334A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334A13
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A13#FFFFFF#000000##FFFFFF
##334A131.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440B
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#35463F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #334a13;
/* rgb */ color: rgb(51, 74, 19);
/* oklch */ color: oklch(37.7% 0.085 129.3);
Tailwind
colors: {
  custom: {
    50: '#6d7c54',
    500: '#334a13',
    950: '#000000',
  },
}
SCSS
$custom: #334a13;
$custom-light: #6d7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#334a13",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 19
  },
  "hsl": {
    "h": 85.091,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37726,
    "c": 0.08468,
    "h": 129.3
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#334A13
secondary
#563683
accent
#45E287
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334A13

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

Preview Lab → · Contrast checker → · Palette generator →

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