#334711#334711

#334711 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.082 H 127.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#334711
RGBrgb(51, 71, 17)
HSLhsl(82, 61%, 17%)
HSVhsv(82, 76%, 28%)
CMYKcmyk(28.2%, 0%, 76.1%, 72.2%)
CIE-LABlab(27.44, -17.47, 28.63)
CIE-LCHlch(27.44, 33.54, 121.40°)
OKLaboklab(36.85% -0.0499 0.0648)
OKLCHoklch(36.85% 0.082 127.6)
XYZxyz(3.7197, 5.2507, 1.3477)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334711 #251147
analogous
#474011 #334711 #184711
triadic
#334711 #113347 #471133
tetradic
#334711 #114740 #251147 #471118
square
#334711 #114740 #251147 #471118
split-complementary
#334711 #111847 #401147
monochromatic
#121906 #121906 #334711 #56781D #7AAA29

Accessibility & contrast

On white

10.24
#334711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#334711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334711
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334711#FFFFFF#000000##FFFFFF
##3347111.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4209
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#35433C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #334711;
/* rgb */ color: rgb(51, 71, 17);
/* oklch */ color: oklch(36.9% 0.082 127.6);
Tailwind
colors: {
  custom: {
    50: '#6d7a53',
    500: '#334711',
    950: '#000000',
  },
}
SCSS
$custom: #334711;
$custom-light: #6d7a53;
$custom-dark: #000000;
JSON
{
  "hex": "#334711",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 17
  },
  "hsl": {
    "h": 82.222,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.08179,
    "h": 127.6
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#334711
secondary
#503381
accent
#43E47F
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #334711

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

Preview Lab → · Contrast checker → · Palette generator →

#334711 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva