#335513#335513

#335513 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.9% C 0.101 H 133.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#335513
RGBrgb(51, 85, 19)
HSLhsl(91, 63%, 20%)
HSVhsv(91, 78%, 33%)
CMYKcmyk(40%, 0%, 77.6%, 66.7%)
CIE-LABlab(32.36, -24.54, 32.76)
CIE-LCHlch(32.36, 40.93, 126.83°)
OKLaboklab(40.87% -0.069 0.0738)
OKLCHoklch(40.87% 0.101 133.1)
XYZxyz(4.7312, 7.2476, 1.7656)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335513 #351355
analogous
#545513 #335513 #135514
triadic
#335513 #133355 #551333
tetradic
#335513 #135455 #351355 #551413
square
#335513 #135455 #351355 #551413
split-complementary
#335513 #141355 #551354
monochromatic
#0F1906 #152308 #335513 #51871E #6FB929

Accessibility & contrast

On white

8.57
#335513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#335513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335513
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335513#FFFFFF#000000##FFFFFF
##3355131.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#335148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335513;
/* rgb */ color: rgb(51, 85, 19);
/* oklch */ color: oklch(40.9% 0.101 133.1);
Tailwind
colors: {
  custom: {
    50: '#6e8555',
    500: '#335513',
    950: '#000000',
  },
}
SCSS
$custom: #335513;
$custom-light: #6e8555;
$custom-dark: #000000;
JSON
{
  "hex": "#335513",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 19
  },
  "hsl": {
    "h": 90.909,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.10102,
    "h": 133.1
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#335513
secondary
#63368D
accent
#41E696
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335513

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

Preview Lab → · Contrast checker → · Palette generator →

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