#335110#335110

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

Color values

HEX#335110
RGBrgb(51, 81, 16)
HSLhsl(88, 67%, 19%)
HSVhsv(88, 80%, 32%)
CMYKcmyk(37%, 0%, 80.2%, 68.2%)
CIE-LABlab(30.94, -22.78, 32.59)
CIE-LCHlch(30.94, 39.76, 124.95°)
OKLaboklab(39.7% -0.0644 0.073)
OKLCHoklch(39.7% 0.097 131.5)
XYZxyz(4.4012, 6.6259, 1.5372)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335110 #2E1051
analogous
#514F10 #335110 #135110
triadic
#335110 #103351 #511033
tetradic
#335110 #10514F #2E1051 #511013
square
#335110 #10514F #2E1051 #511013
split-complementary
#335110 #101351 #4F1051
monochromatic
#101A05 #131E06 #335110 #53841A #73B724

Accessibility & contrast

On white

9.03
#335110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335110
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335110#FFFFFF#000000##FFFFFF
##3351101.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A04
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#344D44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #335110;
/* rgb */ color: rgb(51, 81, 16);
/* oklch */ color: oklch(39.7% 0.097 131.5);
Tailwind
colors: {
  custom: {
    50: '#6e8253',
    500: '#335110',
    950: '#000000',
  },
}
SCSS
$custom: #335110;
$custom-light: #6e8253;
$custom-dark: #000000;
JSON
{
  "hex": "#335110",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 87.692,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.09734,
    "h": 131.5
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#335110
secondary
#5B328B
accent
#3EEA8D
background
#F6F7F4
surface
#ECEEE8
border
#C7C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #335110

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

Preview Lab → · Contrast checker → · Palette generator →

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