#335F14#335F14

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

Color values

HEX#335F14
RGBrgb(51, 95, 20)
HSLhsl(95, 65%, 23%)
HSVhsv(95, 79%, 37%)
CMYKcmyk(46.3%, 0%, 78.9%, 62.7%)
CIE-LABlab(35.87, -29.19, 35.85)
CIE-LCHlch(35.87, 46.23, 129.15°)
OKLaboklab(43.74% -0.0815 0.0804)
OKLCHoklch(43.74% 0.114 135.4)
XYZxyz(5.5836, 8.9384, 2.0928)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F14 #40145F
analogous
#585F14 #335F14 #145F1B
triadic
#335F14 #14335F #5F1433
tetradic
#335F14 #14585F #40145F #5F1B14
square
#335F14 #14585F #40145F #5F1B14
split-complementary
#335F14 #1B145F #5F1458
monochromatic
#0E1905 #182C09 #335F14 #4E921F #69C429

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335F14#FFFFFF#000000##FFFFFF
##335F141.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)
#635706
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#325B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335f14;
/* rgb */ color: rgb(51, 95, 20);
/* oklch */ color: oklch(43.7% 0.114 135.4);
Tailwind
colors: {
  custom: {
    50: '#6f8d57',
    500: '#335f14',
    950: '#000000',
  },
}
SCSS
$custom: #335f14;
$custom-light: #6f8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#335f14",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 95.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43736,
    "c": 0.11448,
    "h": 135.4
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#335F14
secondary
#703897
accent
#40E8A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335F14

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

Preview Lab → · Contrast checker → · Palette generator →

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