#335D14#335D14

#335D14 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.112 H 135.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#335D14
RGBrgb(51, 93, 20)
HSLhsl(95, 65%, 22%)
HSVhsv(95, 78%, 36%)
CMYKcmyk(45.2%, 0%, 78.5%, 63.5%)
CIE-LABlab(35.17, -28.27, 35.16)
CIE-LCHlch(35.17, 45.11, 128.80°)
OKLaboklab(43.16% -0.079 0.079)
OKLCHoklch(43.16% 0.112 135)
XYZxyz(5.4057, 8.5827, 2.0335)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D14 #3E145D
analogous
#585D14 #335D14 #145D1A
triadic
#335D14 #14335D #5D1433
tetradic
#335D14 #14585D #3E145D #5D1A14
square
#335D14 #14585D #3E145D #5D1A14
split-complementary
#335D14 #1A145D #5D1458
monochromatic
#0E1905 #172B09 #335D14 #4F8F1F #6AC22A

Accessibility & contrast

On white

7.73
#335D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#335D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D14
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D14#FFFFFF#000000##FFFFFF
##335D141.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335d14;
/* rgb */ color: rgb(51, 93, 20);
/* oklch */ color: oklch(43.2% 0.112 135.0);
Tailwind
colors: {
  custom: {
    50: '#6f8b57',
    500: '#335d14',
    950: '#000000',
  },
}
SCSS
$custom: #335d14;
$custom-light: #6f8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#335d14",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 94.521,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43164,
    "c": 0.1117,
    "h": 135
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#335D14
secondary
#6D3895
accent
#40E8A1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335D14

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

Preview Lab → · Contrast checker → · Palette generator →

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