#335510#335510

#335510 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.8% C 0.103 H 132.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#335510
RGBrgb(51, 85, 16)
HSLhsl(90, 68%, 20%)
HSVhsv(90, 81%, 33%)
CMYKcmyk(40%, 0%, 81.2%, 66.7%)
CIE-LABlab(32.34, -24.76, 33.97)
CIE-LCHlch(32.34, 42.03, 126.09°)
OKLaboklab(40.84% -0.0698 0.0758)
OKLCHoklch(40.84% 0.103 132.6)
XYZxyz(4.7072, 7.2380, 1.6392)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335510 #321055
analogous
#555510 #335510 #115510
triadic
#335510 #103355 #551033
tetradic
#335510 #105555 #321055 #551011
square
#335510 #105555 #321055 #551011
split-complementary
#335510 #101155 #551055
monochromatic
#0F1A05 #142106 #335510 #52891A #71BC23

Accessibility & contrast

On white

8.58
#335510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335510
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335510#FFFFFF#000000##FFFFFF
##3355101.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335510;
/* rgb */ color: rgb(51, 85, 16);
/* oklch */ color: oklch(40.8% 0.103 132.6);
Tailwind
colors: {
  custom: {
    50: '#6e8554',
    500: '#335510',
    950: '#000000',
  },
}
SCSS
$custom: #335510;
$custom-light: #6e8554;
$custom-dark: #000000;
JSON
{
  "hex": "#335510",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 89.565,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.10306,
    "h": 132.6
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#335510
secondary
#60328F
accent
#3DEB93
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335510

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

Preview Lab → · Contrast checker → · Palette generator →

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