#335814#335814

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

Color values

HEX#335814
RGBrgb(51, 88, 20)
HSLhsl(93, 63%, 21%)
HSVhsv(93, 77%, 35%)
CMYKcmyk(42%, 0%, 77.3%, 65.5%)
CIE-LABlab(33.42, -25.91, 33.41)
CIE-LCHlch(33.42, 42.28, 127.80°)
OKLaboklab(41.74% -0.0726 0.0753)
OKLCHoklch(41.74% 0.105 133.9)
XYZxyz(4.9811, 7.7335, 1.8919)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335814 #391458
analogous
#555814 #335814 #145817
triadic
#335814 #143358 #581433
tetradic
#335814 #145558 #391458 #581714
square
#335814 #145558 #391458 #581714
split-complementary
#335814 #171458 #581455
monochromatic
#0E1906 #162609 #335814 #508A1F #6DBC2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335814#FFFFFF#000000##FFFFFF
##3358141.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)
#5C5008
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#33544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335814;
/* rgb */ color: rgb(51, 88, 20);
/* oklch */ color: oklch(41.7% 0.105 133.9);
Tailwind
colors: {
  custom: {
    50: '#6e8756',
    500: '#335814',
    950: '#000000',
  },
}
SCSS
$custom: #335814;
$custom-light: #6e8756;
$custom-dark: #000000;
JSON
{
  "hex": "#335814",
  "rgb": {
    "r": 51,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 92.647,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41735,
    "c": 0.10462,
    "h": 133.9
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#335814
secondary
#683890
accent
#42E69B
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335814

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

Preview Lab → · Contrast checker → · Palette generator →

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