#335313#335313

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

Color values

HEX#335313
RGBrgb(51, 83, 19)
HSLhsl(90, 63%, 20%)
HSVhsv(90, 77%, 33%)
CMYKcmyk(38.6%, 0%, 77.1%, 67.5%)
CIE-LABlab(31.66, -23.55, 32.05)
CIE-LCHlch(31.66, 39.78, 126.30°)
OKLaboklab(40.3% -0.0663 0.0723)
OKLCHoklch(40.3% 0.098 132.5)
XYZxyz(4.5760, 6.9371, 1.7139)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335313 #331353
analogous
#535313 #335313 #135313
triadic
#335313 #133353 #531333
tetradic
#335313 #135353 #331353 #531313
square
#335313 #135353 #331353 #531313
split-complementary
#335313 #131353 #531353
monochromatic
#0F1906 #142108 #335313 #52851E #70B72A

Accessibility & contrast

On white

8.80
#335313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335313
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335313#FFFFFF#000000##FFFFFF
##3353131.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C08
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#344F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #335313;
/* rgb */ color: rgb(51, 83, 19);
/* oklch */ color: oklch(40.3% 0.098 132.5);
Tailwind
colors: {
  custom: {
    50: '#6e8355',
    500: '#335313',
    950: '#000000',
  },
}
SCSS
$custom: #335313;
$custom-light: #6e8355;
$custom-dark: #000000;
JSON
{
  "hex": "#335313",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 90,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.09811,
    "h": 132.5
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#335313
secondary
#61368B
accent
#42E694
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #335313

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

Preview Lab → · Contrast checker → · Palette generator →

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