#335310#335310

#335310 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.3% C 0.100 H 132.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#335310
RGBrgb(51, 83, 16)
HSLhsl(89, 68%, 19%)
HSVhsv(89, 81%, 33%)
CMYKcmyk(38.6%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.64, -23.77, 33.28)
CIE-LCHlch(31.64, 40.90, 125.54°)
OKLaboklab(40.27% -0.0671 0.0744)
OKLCHoklch(40.27% 0.1 132.1)
XYZxyz(4.5520, 6.9275, 1.5874)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335310 #301053
analogous
#535210 #335310 #115310
triadic
#335310 #103353 #531033
tetradic
#335310 #105352 #301053 #531011
square
#335310 #105352 #301053 #531011
split-complementary
#335310 #101153 #521053
monochromatic
#101A05 #132006 #335310 #53861A #72BA24

Accessibility & contrast

On white

8.80
#335310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#335310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335310
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335310#FFFFFF#000000##FFFFFF
##3353101.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#524A17
Tritanopia (blue-blind)
#344F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #335310;
/* rgb */ color: rgb(51, 83, 16);
/* oklch */ color: oklch(40.3% 0.100 132.1);
Tailwind
colors: {
  custom: {
    50: '#6e8354',
    500: '#335310',
    950: '#000000',
  },
}
SCSS
$custom: #335310;
$custom-light: #6e8354;
$custom-dark: #000000;
JSON
{
  "hex": "#335310",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 88.657,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40271,
    "c": 0.10022,
    "h": 132.1
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#335310
secondary
#5D328D
accent
#3DEB90
background
#F6F8F5
surface
#ECEFE8
border
#C7CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #335310

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

Preview Lab → · Contrast checker → · Palette generator →

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