#335D10#335D10

#335D10 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.114 H 134.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#335D10
RGBrgb(51, 93, 16)
HSLhsl(93, 71%, 21%)
HSVhsv(93, 83%, 36%)
CMYKcmyk(45.2%, 0%, 82.8%, 63.5%)
CIE-LABlab(35.14, -28.55, 36.66)
CIE-LCHlch(35.14, 46.46, 127.91°)
OKLaboklab(43.14% -0.08 0.0815)
OKLCHoklch(43.14% 0.114 134.5)
XYZxyz(5.3730, 8.5696, 1.8611)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D10 #3A105D
analogous
#5A5D10 #335D10 #105D14
triadic
#335D10 #10335D #5D1033
tetradic
#335D10 #105A5D #3A105D #5D1410
square
#335D10 #105A5D #3A105D #5D1410
split-complementary
#335D10 #14105D #5D105A
monochromatic
#0E1A04 #162907 #335D10 #509119 #6CC522

Accessibility & contrast

On white

7.74
#335D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#335D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D10
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D10#FFFFFF#000000##FFFFFF
##335D101.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#32594F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335d10;
/* rgb */ color: rgb(51, 93, 16);
/* oklch */ color: oklch(43.1% 0.114 134.5);
Tailwind
colors: {
  custom: {
    50: '#6f8b55',
    500: '#335d10',
    950: '#000000',
  },
}
SCSS
$custom: #335d10;
$custom-light: #6f8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#335d10",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 92.727,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.1142,
    "h": 134.5
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#335D10
secondary
#693396
accent
#3AED9C
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335D10

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

Preview Lab → · Contrast checker → · Palette generator →

#335D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva