#334B13#334B13

#334B13 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.086 H 129.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#334B13
RGBrgb(51, 75, 19)
HSLhsl(86, 60%, 18%)
HSVhsv(86, 75%, 29%)
CMYKcmyk(32%, 0%, 74.7%, 70.6%)
CIE-LABlab(28.86, -19.45, 29.17)
CIE-LCHlch(28.86, 35.06, 123.70°)
OKLaboklab(38.01% -0.0551 0.0663)
OKLCHoklch(38.01% 0.086 129.7)
XYZxyz(3.9988, 5.7829, 1.5215)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B13 #2B134B
analogous
#4B4713 #334B13 #174B13
triadic
#334B13 #13334B #4B1333
tetradic
#334B13 #134B47 #2B134B #4B1317
square
#334B13 #134B47 #2B134B #4B1317
split-complementary
#334B13 #13174B #47134B
monochromatic
#111806 #121A07 #334B13 #547C1F #75AD2C

Accessibility & contrast

On white

9.74
#334B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#334B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334B13
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B13#FFFFFF#000000##FFFFFF
##334B131.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450B
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#354740
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #334b13;
/* rgb */ color: rgb(51, 75, 19);
/* oklch */ color: oklch(38.0% 0.086 129.7);
Tailwind
colors: {
  custom: {
    50: '#6d7d54',
    500: '#334b13',
    950: '#000000',
  },
}
SCSS
$custom: #334b13;
$custom-light: #6d7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#334b13",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 19
  },
  "hsl": {
    "h": 85.714,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.08619,
    "h": 129.7
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#334B13
secondary
#573684
accent
#45E389
background
#F6F7F5
surface
#ECEEE8
border
#C7C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #334B13

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

Preview Lab → · Contrast checker → · Palette generator →

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