#335813#335813

#335813 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.7% C 0.105 H 133.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#335813
RGBrgb(51, 88, 19)
HSLhsl(92, 64%, 21%)
HSVhsv(92, 78%, 35%)
CMYKcmyk(42%, 0%, 78.4%, 65.5%)
CIE-LABlab(33.41, -25.99, 33.82)
CIE-LCHlch(33.41, 42.65, 127.54°)
OKLaboklab(41.73% -0.0729 0.076)
OKLCHoklch(41.73% 0.105 133.8)
XYZxyz(4.9724, 7.7300, 1.8460)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335813 #381358
analogous
#555813 #335813 #135815
triadic
#335813 #133358 #581333
tetradic
#335813 #135558 #381358 #581513
square
#335813 #135558 #381358 #581513
split-complementary
#335813 #151358 #581355
monochromatic
#0F1905 #162608 #335813 #508A1E #6DBD29

Accessibility & contrast

On white

8.25
#335813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#335813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335813
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335813#FFFFFF#000000##FFFFFF
##3358131.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5007
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#33544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335813;
/* rgb */ color: rgb(51, 88, 19);
/* oklch */ color: oklch(41.7% 0.105 133.8);
Tailwind
colors: {
  custom: {
    50: '#6e8756',
    500: '#335813',
    950: '#000000',
  },
}
SCSS
$custom: #335813;
$custom-light: #6e8756;
$custom-dark: #000000;
JSON
{
  "hex": "#335813",
  "rgb": {
    "r": 51,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 92.174,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.10533,
    "h": 133.8
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#335813
secondary
#673790
accent
#40E79A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335813

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

Preview Lab → · Contrast checker → · Palette generator →

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