#335411#335411

#335411 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.101 H 132.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#335411
RGBrgb(51, 84, 17)
HSLhsl(90, 66%, 20%)
HSVhsv(90, 80%, 33%)
CMYKcmyk(39.3%, 0%, 79.8%, 67.1%)
CIE-LABlab(32.00, -24.20, 33.23)
CIE-LCHlch(32.00, 41.11, 126.06°)
OKLaboklab(40.57% -0.0682 0.0745)
OKLCHoklch(40.57% 0.101 132.5)
XYZxyz(4.6367, 7.0847, 1.6534)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335411 #321154
analogous
#545411 #335411 #125411
triadic
#335411 #113354 #541133
tetradic
#335411 #115454 #321154 #541112
square
#335411 #115454 #321154 #541112
split-complementary
#335411 #111254 #541154
monochromatic
#0F1905 #142107 #335411 #52871B #71BA26

Accessibility & contrast

On white

8.69
#335411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#335411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335411
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335411#FFFFFF#000000##FFFFFF
##3354111.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#345047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #335411;
/* rgb */ color: rgb(51, 84, 17);
/* oklch */ color: oklch(40.6% 0.101 132.5);
Tailwind
colors: {
  custom: {
    50: '#6e8454',
    500: '#335411',
    950: '#000000',
  },
}
SCSS
$custom: #335411;
$custom-light: #6e8454;
$custom-dark: #000000;
JSON
{
  "hex": "#335411",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 89.552,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.10097,
    "h": 132.5
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#335411
secondary
#60348D
accent
#3FE993
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335411

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

Preview Lab → · Contrast checker → · Palette generator →

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