#335414#335414

#335414 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.099 H 132.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#335414
RGBrgb(51, 84, 20)
HSLhsl(91, 62%, 20%)
HSVhsv(91, 76%, 33%)
CMYKcmyk(39.3%, 0%, 76.2%, 67.1%)
CIE-LABlab(32.02, -23.97, 31.98)
CIE-LCHlch(32.02, 39.97, 126.84°)
OKLaboklab(40.59% -0.0673 0.0724)
OKLCHoklch(40.59% 0.099 132.9)
XYZxyz(4.6618, 7.0948, 1.7855)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335414 #351454
analogous
#535414 #335414 #145415
triadic
#335414 #143354 #541433
tetradic
#335414 #145354 #351454 #541514
square
#335414 #145354 #351454 #541514
split-complementary
#335414 #151454 #541453
monochromatic
#0F1906 #152308 #335414 #518520 #6FB72C

Accessibility & contrast

On white

8.68
#335414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#335414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335414
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335414#FFFFFF#000000##FFFFFF
##3354141.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0A
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#335047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #335414;
/* rgb */ color: rgb(51, 84, 20);
/* oklch */ color: oklch(40.6% 0.099 132.9);
Tailwind
colors: {
  custom: {
    50: '#6e8456',
    500: '#335414',
    950: '#000000',
  },
}
SCSS
$custom: #335414;
$custom-light: #6e8456;
$custom-dark: #000000;
JSON
{
  "hex": "#335414",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 90.938,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40591,
    "c": 0.09883,
    "h": 132.9
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#335414
secondary
#63388C
accent
#43E596
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335414

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

Preview Lab → · Contrast checker → · Palette generator →

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