#335714#335714

#335714 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.103 H 133.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#335714
RGBrgb(51, 87, 20)
HSLhsl(92, 63%, 21%)
HSVhsv(92, 77%, 34%)
CMYKcmyk(41.4%, 0%, 77%, 65.9%)
CIE-LABlab(33.07, -25.43, 33.05)
CIE-LCHlch(33.07, 41.71, 127.58°)
OKLaboklab(41.45% -0.0713 0.0746)
OKLCHoklch(41.45% 0.103 133.7)
XYZxyz(4.8996, 7.5705, 1.8648)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335714 #381457
analogous
#545714 #335714 #145716
triadic
#335714 #143357 #571433
tetradic
#335714 #145457 #381457 #571614
square
#335714 #145457 #381457 #571614
split-complementary
#335714 #161457 #571454
monochromatic
#0F1906 #162509 #335714 #50891F #6DBB2B

Accessibility & contrast

On white

8.35
#335714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#335714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335714
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335714#FFFFFF#000000##FFFFFF
##3357141.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5009
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#33534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #335714;
/* rgb */ color: rgb(51, 87, 20);
/* oklch */ color: oklch(41.4% 0.103 133.7);
Tailwind
colors: {
  custom: {
    50: '#6e8656',
    500: '#335714',
    950: '#000000',
  },
}
SCSS
$custom: #335714;
$custom-light: #6e8656;
$custom-dark: #000000;
JSON
{
  "hex": "#335714",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 92.239,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41449,
    "c": 0.10319,
    "h": 133.7
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#335714
secondary
#67388F
accent
#42E69A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335714

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

Preview Lab → · Contrast checker → · Palette generator →

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