#335B14#335B14

#335B14 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.6% C 0.109 H 134.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#335B14
RGBrgb(51, 91, 20)
HSLhsl(94, 64%, 22%)
HSVhsv(94, 78%, 36%)
CMYKcmyk(44%, 0%, 78%, 64.3%)
CIE-LABlab(34.47, -27.34, 34.46)
CIE-LCHlch(34.47, 43.99, 128.42°)
OKLaboklab(42.59% -0.0765 0.0775)
OKLCHoklch(42.59% 0.109 134.6)
XYZxyz(5.2325, 8.2362, 1.9757)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B14 #3C145B
analogous
#575B14 #335B14 #145B19
triadic
#335B14 #14335B #5B1433
tetradic
#335B14 #14575B #3C145B #5B1914
square
#335B14 #14575B #3C145B #5B1914
split-complementary
#335B14 #19145B #5B1457
monochromatic
#0E1906 #172909 #335B14 #4F8D1F #6BBF2A

Accessibility & contrast

On white

7.93
#335B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#335B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B14
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B14#FFFFFF#000000##FFFFFF
##335B141.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5307
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#32574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335b14;
/* rgb */ color: rgb(51, 91, 20);
/* oklch */ color: oklch(42.6% 0.109 134.6);
Tailwind
colors: {
  custom: {
    50: '#6f8a57',
    500: '#335b14',
    950: '#000000',
  },
}
SCSS
$custom: #335b14;
$custom-light: #6f8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#335b14",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 93.803,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.1089,
    "h": 134.6
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#335B14
secondary
#6B3893
accent
#41E79E
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #335B14

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

Preview Lab → · Contrast checker → · Palette generator →

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