#335113#335113

#335113 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.7% C 0.095 H 131.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#335113
RGBrgb(51, 81, 19)
HSLhsl(89, 62%, 20%)
HSVhsv(89, 77%, 32%)
CMYKcmyk(37%, 0%, 76.5%, 68.2%)
CIE-LABlab(30.96, -22.55, 31.34)
CIE-LCHlch(30.96, 38.61, 125.73°)
OKLaboklab(39.72% -0.0636 0.0708)
OKLCHoklch(39.72% 0.095 131.9)
XYZxyz(4.4252, 6.6355, 1.6636)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335113 #311351
analogous
#515013 #335113 #145113
triadic
#335113 #133351 #511333
tetradic
#335113 #135150 #311351 #511314
square
#335113 #135150 #311351 #511314
split-complementary
#335113 #131451 #501351
monochromatic
#101906 #141F07 #335113 #52831F #71B42A

Accessibility & contrast

On white

9.02
#335113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#335113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335113
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335113#FFFFFF#000000##FFFFFF
##3351131.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A09
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#344D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #335113;
/* rgb */ color: rgb(51, 81, 19);
/* oklch */ color: oklch(39.7% 0.095 131.9);
Tailwind
colors: {
  custom: {
    50: '#6e8255',
    500: '#335113',
    950: '#000000',
  },
}
SCSS
$custom: #335113;
$custom-light: #6e8255;
$custom-dark: #000000;
JSON
{
  "hex": "#335113",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 89.032,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.09517,
    "h": 131.9
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#335113
secondary
#5F368A
accent
#43E591
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #335113

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

Preview Lab → · Contrast checker → · Palette generator →

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