#334C11#334C11

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

Color values

HEX#334C11
RGBrgb(51, 76, 17)
HSLhsl(85, 63%, 18%)
HSVhsv(85, 78%, 30%)
CMYKcmyk(32.9%, 0%, 77.6%, 70.2%)
CIE-LABlab(29.19, -20.14, 30.42)
CIE-LCHlch(29.19, 36.49, 123.51°)
OKLaboklab(38.28% -0.0572 0.0686)
OKLCHoklch(38.28% 0.089 129.8)
XYZxyz(4.0508, 5.9130, 1.4581)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C11 #2A114C
analogous
#4C4711 #334C11 #154C11
triadic
#334C11 #11334C #4C1133
tetradic
#334C11 #114C47 #2A114C #4C1115
square
#334C11 #114C47 #2A114C #4C1115
split-complementary
#334C11 #11154C #47114C
monochromatic
#111906 #111A06 #334C11 #557E1C #76B027

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##334C11#FFFFFF#000000##FFFFFF
##334C111.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)
#504608
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#354840
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334c11;
/* rgb */ color: rgb(51, 76, 17);
/* oklch */ color: oklch(38.3% 0.089 129.8);
Tailwind
colors: {
  custom: {
    50: '#6d7e53',
    500: '#334c11',
    950: '#000000',
  },
}
SCSS
$custom: #334c11;
$custom-light: #6d7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#334c11",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 85.424,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.08929,
    "h": 129.8
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#334C11
secondary
#563385
accent
#41E687
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #334C11

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

Preview Lab → · Contrast checker → · Palette generator →

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