#335514#335514

#335514 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.100 H 133.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#335514
RGBrgb(51, 85, 20)
HSLhsl(91, 62%, 21%)
HSVhsv(91, 76%, 33%)
CMYKcmyk(40%, 0%, 76.5%, 66.7%)
CIE-LABlab(32.37, -24.46, 32.34)
CIE-LCHlch(32.37, 40.55, 127.10°)
OKLaboklab(40.88% -0.0687 0.0731)
OKLCHoklch(40.88% 0.1 133.2)
XYZxyz(4.7399, 7.2511, 1.8115)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335514 #361455
analogous
#535514 #335514 #145516
triadic
#335514 #143355 #551433
tetradic
#335514 #145355 #361455 #551614
square
#335514 #145355 #361455 #551614
split-complementary
#335514 #161455 #551453
monochromatic
#0F1906 #152308 #335514 #518720 #6EB82B

Accessibility & contrast

On white

8.57
#335514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#335514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335514
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335514#FFFFFF#000000##FFFFFF
##3355141.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E09
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#335148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335514;
/* rgb */ color: rgb(51, 85, 20);
/* oklch */ color: oklch(40.9% 0.100 133.2);
Tailwind
colors: {
  custom: {
    50: '#6e8556',
    500: '#335514',
    950: '#000000',
  },
}
SCSS
$custom: #335514;
$custom-light: #6e8556;
$custom-dark: #000000;
JSON
{
  "hex": "#335514",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 20
  },
  "hsl": {
    "h": 91.385,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.10029,
    "h": 133.2
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#335514
secondary
#64388D
accent
#43E598
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335514

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

Preview Lab → · Contrast checker → · Palette generator →

#335514 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva