#335F13#335F13

#335F13 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.7% C 0.115 H 135.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#335F13
RGBrgb(51, 95, 19)
HSLhsl(95, 67%, 22%)
HSVhsv(95, 80%, 37%)
CMYKcmyk(46.3%, 0%, 80%, 62.7%)
CIE-LABlab(35.86, -29.26, 36.23)
CIE-LCHlch(35.86, 46.57, 128.92°)
OKLaboklab(43.73% -0.0817 0.0811)
OKLCHoklch(43.73% 0.115 135.2)
XYZxyz(5.5749, 8.9349, 2.0468)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F13 #3F135F
analogous
#595F13 #335F13 #135F19
triadic
#335F13 #13335F #5F1333
tetradic
#335F13 #13595F #3F135F #5F1913
square
#335F13 #13595F #3F135F #5F1913
split-complementary
#335F13 #19135F #5F1359
monochromatic
#0E1A05 #182C09 #335F13 #4E921D #6AC527

Accessibility & contrast

On white

7.53
#335F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#335F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335F13
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F13#FFFFFF#000000##FFFFFF
##335F131.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635704
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#325B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335f13;
/* rgb */ color: rgb(51, 95, 19);
/* oklch */ color: oklch(43.7% 0.115 135.2);
Tailwind
colors: {
  custom: {
    50: '#6f8d57',
    500: '#335f13',
    950: '#000000',
  },
}
SCSS
$custom: #335f13;
$custom-light: #6f8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#335f13",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 94.737,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43728,
    "c": 0.11513,
    "h": 135.2
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#335F13
secondary
#6E3797
accent
#3EEAA1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335F13

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

Preview Lab → · Contrast checker → · Palette generator →

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