#335E14#335E14

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

Color values

HEX#335E14
RGBrgb(51, 94, 20)
HSLhsl(95, 65%, 22%)
HSVhsv(95, 79%, 37%)
CMYKcmyk(45.7%, 0%, 78.7%, 63.1%)
CIE-LABlab(35.52, -28.73, 35.50)
CIE-LCHlch(35.52, 45.67, 128.98°)
OKLaboklab(43.45% -0.0802 0.0797)
OKLCHoklch(43.45% 0.113 135.2)
XYZxyz(5.4941, 8.7594, 2.0629)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E14 #3F145E
analogous
#585E14 #335E14 #145E1A
triadic
#335E14 #14335E #5E1433
tetradic
#335E14 #14585E #3F145E #5E1A14
square
#335E14 #14585E #3F145E #5E1A14
split-complementary
#335E14 #1A145E #5E1458
monochromatic
#0E1905 #182C09 #335E14 #4E901F #6AC329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335E14#FFFFFF#000000##FFFFFF
##335E141.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)
#625606
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#325A50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335e14;
/* rgb */ color: rgb(51, 94, 20);
/* oklch */ color: oklch(43.5% 0.113 135.2);
Tailwind
colors: {
  custom: {
    50: '#6f8c57',
    500: '#335e14',
    950: '#000000',
  },
}
SCSS
$custom: #335e14;
$custom-light: #6f8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#335e14",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 94.865,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.1131,
    "h": 135.2
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#335E14
secondary
#6E3896
accent
#40E8A2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335E14

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

Preview Lab → · Contrast checker → · Palette generator →

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