#334C13#334C13

#334C13 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.088 H 130.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#334C13
RGBrgb(51, 76, 19)
HSLhsl(86, 60%, 19%)
HSVhsv(86, 75%, 30%)
CMYKcmyk(32.9%, 0%, 75%, 70.2%)
CIE-LABlab(29.21, -19.98, 29.53)
CIE-LCHlch(29.21, 35.66, 124.08°)
OKLaboklab(38.3% -0.0565 0.0671)
OKLCHoklch(38.3% 0.088 130.1)
XYZxyz(4.0672, 5.9196, 1.5443)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C13 #2C134C
analogous
#4C4813 #334C13 #164C13
triadic
#334C13 #13334C #4C1333
tetradic
#334C13 #134C48 #2C134C #4C1316
square
#334C13 #134C48 #2C134C #4C1316
split-complementary
#334C13 #13164C #48134C
monochromatic
#101806 #121B07 #334C13 #547D1F #75AE2B

Accessibility & contrast

On white

9.62
#334C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#334C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C13
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C13#FFFFFF#000000##FFFFFF
##334C131.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460B
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#344841
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334c13;
/* rgb */ color: rgb(51, 76, 19);
/* oklch */ color: oklch(38.3% 0.088 130.1);
Tailwind
colors: {
  custom: {
    50: '#6d7e54',
    500: '#334c13',
    950: '#000000',
  },
}
SCSS
$custom: #334c13;
$custom-light: #6d7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#334c13",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 86.316,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.08771,
    "h": 130.1
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#334C13
secondary
#593685
accent
#45E38A
background
#F6F7F5
surface
#ECEEE8
border
#C7C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334C13

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

Preview Lab → · Contrast checker → · Palette generator →

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