#335E13#335E13

#335E13 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.114 H 135.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#335E13
RGBrgb(51, 94, 19)
HSLhsl(94, 66%, 22%)
HSVhsv(94, 80%, 37%)
CMYKcmyk(45.7%, 0%, 79.8%, 63.1%)
CIE-LABlab(35.51, -28.80, 35.89)
CIE-LCHlch(35.51, 46.02, 128.75°)
OKLaboklab(43.44% -0.0805 0.0804)
OKLCHoklch(43.44% 0.114 135)
XYZxyz(5.4854, 8.7559, 2.0170)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E13 #3E135E
analogous
#595E13 #335E13 #135E18
triadic
#335E13 #13335E #5E1333
tetradic
#335E13 #13595E #3E135E #5E1813
square
#335E13 #13595E #3E135E #5E1813
split-complementary
#335E13 #18135E #5E1359
monochromatic
#0E1905 #172B09 #335E13 #4F911D #6AC428

Accessibility & contrast

On white

7.63
#335E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#335E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E13
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E13#FFFFFF#000000##FFFFFF
##335E131.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#325A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335e13;
/* rgb */ color: rgb(51, 94, 19);
/* oklch */ color: oklch(43.4% 0.114 135.0);
Tailwind
colors: {
  custom: {
    50: '#6f8c57',
    500: '#335e13',
    950: '#000000',
  },
}
SCSS
$custom: #335e13;
$custom-light: #6f8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#335e13",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 94.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.11375,
    "h": 135
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#335E13
secondary
#6D3796
accent
#3FE9A0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335E13

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

Preview Lab → · Contrast checker → · Palette generator →

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