#335413#335413

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

Color values

HEX#335413
RGBrgb(51, 84, 19)
HSLhsl(90, 63%, 20%)
HSVhsv(90, 77%, 33%)
CMYKcmyk(39.3%, 0%, 77.4%, 67.1%)
CIE-LABlab(32.01, -24.05, 32.41)
CIE-LCHlch(32.01, 40.36, 126.57°)
OKLaboklab(40.58% -0.0676 0.0731)
OKLCHoklch(40.58% 0.1 132.8)
XYZxyz(4.6530, 7.0913, 1.7396)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335413 #341354
analogous
#535413 #335413 #135414
triadic
#335413 #133354 #541333
tetradic
#335413 #135354 #341354 #541413
square
#335413 #135354 #341354 #541413
split-complementary
#335413 #141354 #541353
monochromatic
#0F1906 #152208 #335413 #51861E #70B82A

Accessibility & contrast

On white

8.68
#335413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335413
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335413#FFFFFF#000000##FFFFFF
##3354131.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D08
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#335047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #335413;
/* rgb */ color: rgb(51, 84, 19);
/* oklch */ color: oklch(40.6% 0.100 132.8);
Tailwind
colors: {
  custom: {
    50: '#6e8455',
    500: '#335413',
    950: '#000000',
  },
}
SCSS
$custom: #335413;
$custom-light: #6e8455;
$custom-dark: #000000;
JSON
{
  "hex": "#335413",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 90.462,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40582,
    "c": 0.09956,
    "h": 132.8
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#335413
secondary
#62368C
accent
#42E695
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335413

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

Preview Lab → · Contrast checker → · Palette generator →

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