#335314#335314

#335314 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.3% C 0.097 H 132.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#335314
RGBrgb(51, 83, 20)
HSLhsl(90, 61%, 20%)
HSVhsv(90, 76%, 33%)
CMYKcmyk(38.6%, 0%, 75.9%, 67.5%)
CIE-LABlab(31.67, -23.47, 31.63)
CIE-LCHlch(31.67, 39.38, 126.58°)
OKLaboklab(40.31% -0.066 0.0716)
OKLCHoklch(40.31% 0.097 132.7)
XYZxyz(4.5847, 6.9406, 1.7598)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335314 #341453
analogous
#525314 #335314 #145314
triadic
#335314 #143353 #531433
tetradic
#335314 #145253 #341453 #531414
square
#335314 #145253 #341453 #531414
split-complementary
#335314 #141453 #531452
monochromatic
#0F1906 #152208 #335314 #518420 #70B62C

Accessibility & contrast

On white

8.79
#335314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#335314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335314
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335314#FFFFFF#000000##FFFFFF
##3353141.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0A
Deuteranopia (green-blind)
#524A1A
Tritanopia (blue-blind)
#334F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #335314;
/* rgb */ color: rgb(51, 83, 20);
/* oklch */ color: oklch(40.3% 0.097 132.7);
Tailwind
colors: {
  custom: {
    50: '#6e8356',
    500: '#335314',
    950: '#000000',
  },
}
SCSS
$custom: #335314;
$custom-light: #6e8356;
$custom-dark: #000000;
JSON
{
  "hex": "#335314",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 90.476,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40305,
    "c": 0.09736,
    "h": 132.7
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#335314
secondary
#62388B
accent
#44E495
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #335314

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

Preview Lab → · Contrast checker → · Palette generator →

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