#334311#334311

#334311 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.076 H 125.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#334311
RGBrgb(51, 67, 17)
HSLhsl(79, 60%, 16%)
HSVhsv(79, 75%, 26%)
CMYKcmyk(23.9%, 0%, 74.6%, 73.7%)
CIE-LABlab(26.04, -15.26, 27.17)
CIE-LCHlch(26.04, 31.16, 119.32°)
OKLaboklab(35.72% -0.0438 0.0618)
OKLCHoklch(35.72% 0.076 125.3)
XYZxyz(3.4736, 4.7585, 1.2657)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334311 #211143
analogous
#433A11 #334311 #1A4311
triadic
#334311 #113343 #431133
tetradic
#334311 #11433A #211143 #43111A
square
#334311 #11433A #211143 #43111A
split-complementary
#334311 #111A43 #3A1143
monochromatic
#131806 #131806 #334311 #58741D #7DA52A

Accessibility & contrast

On white

10.76
#334311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#334311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334311
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334311#FFFFFF#000000##FFFFFF
##3343111.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0A
Deuteranopia (green-blind)
#453D15
Tritanopia (blue-blind)
#363F39
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #334311;
/* rgb */ color: rgb(51, 67, 17);
/* oklch */ color: oklch(35.7% 0.076 125.3);
Tailwind
colors: {
  custom: {
    50: '#6c7752',
    500: '#334311',
    950: '#000000',
  },
}
SCSS
$custom: #334311;
$custom-light: #6c7752;
$custom-dark: #000000;
JSON
{
  "hex": "#334311",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 17
  },
  "hsl": {
    "h": 79.2,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35717,
    "c": 0.0757,
    "h": 125.3
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#334311
secondary
#4B337D
accent
#45E378
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #334311

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

Preview Lab → · Contrast checker → · Palette generator →

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