#335713#335713

#335713 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.104 H 133.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#335713
RGBrgb(51, 87, 19)
HSLhsl(92, 64%, 21%)
HSVhsv(92, 78%, 34%)
CMYKcmyk(41.4%, 0%, 78.2%, 65.9%)
CIE-LABlab(33.06, -25.51, 33.47)
CIE-LCHlch(33.06, 42.08, 127.31°)
OKLaboklab(41.44% -0.0716 0.0753)
OKLCHoklch(41.44% 0.104 133.6)
XYZxyz(4.8909, 7.5670, 1.8188)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335713 #371357
analogous
#555713 #335713 #135715
triadic
#335713 #133357 #571333
tetradic
#335713 #135557 #371357 #571513
square
#335713 #135557 #371357 #571513
split-complementary
#335713 #151357 #571355
monochromatic
#0F1905 #162508 #335713 #50891E #6EBB29

Accessibility & contrast

On white

8.36
#335713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#335713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335713
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335713#FFFFFF#000000##FFFFFF
##3357131.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5007
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#33534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #335713;
/* rgb */ color: rgb(51, 87, 19);
/* oklch */ color: oklch(41.4% 0.104 133.6);
Tailwind
colors: {
  custom: {
    50: '#6e8656',
    500: '#335713',
    950: '#000000',
  },
}
SCSS
$custom: #335713;
$custom-light: #6e8656;
$custom-dark: #000000;
JSON
{
  "hex": "#335713",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 91.765,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4144,
    "c": 0.10389,
    "h": 133.6
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#335713
secondary
#66368F
accent
#41E799
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335713

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

Preview Lab → · Contrast checker → · Palette generator →

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