#335710#335710

#335710 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.106 H 133.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#335710
RGBrgb(51, 87, 16)
HSLhsl(90, 69%, 20%)
HSVhsv(90, 82%, 34%)
CMYKcmyk(41.4%, 0%, 81.6%, 65.9%)
CIE-LABlab(33.04, -25.72, 34.65)
CIE-LCHlch(33.04, 43.15, 126.59°)
OKLaboklab(41.42% -0.0724 0.0773)
OKLCHoklch(41.42% 0.106 133.2)
XYZxyz(4.8669, 7.5574, 1.6924)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335710 #341057
analogous
#565710 #335710 #105711
triadic
#335710 #103357 #571033
tetradic
#335710 #105657 #341057 #571110
square
#335710 #105657 #341057 #571110
split-complementary
#335710 #111057 #571056
monochromatic
#0F1A05 #152306 #335710 #518B1A #70BE23

Accessibility & contrast

On white

8.36
#335710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#335710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335710
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335710#FFFFFF#000000##FFFFFF
##3357101.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5002
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#33534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #335710;
/* rgb */ color: rgb(51, 87, 16);
/* oklch */ color: oklch(41.4% 0.106 133.2);
Tailwind
colors: {
  custom: {
    50: '#6e8654',
    500: '#335710',
    950: '#000000',
  },
}
SCSS
$custom: #335710;
$custom-light: #6e8654;
$custom-dark: #000000;
JSON
{
  "hex": "#335710",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 90.423,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.10589,
    "h": 133.2
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#335710
secondary
#623290
accent
#3CEC95
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335710

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

Preview Lab → · Contrast checker → · Palette generator →

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