#335015#335015

#335015 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.092 H 131.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#335015
RGBrgb(51, 80, 21)
HSLhsl(89, 58%, 20%)
HSVhsv(89, 74%, 31%)
CMYKcmyk(36.3%, 0%, 73.7%, 68.6%)
CIE-LABlab(30.63, -21.87, 30.09)
CIE-LCHlch(30.63, 37.20, 126.02°)
OKLaboklab(39.46% -0.0615 0.0685)
OKLCHoklch(39.46% 0.092 131.9)
XYZxyz(4.3692, 6.4951, 1.7328)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335015 #321550
analogous
#505015 #335015 #155015
triadic
#335015 #153350 #501533
tetradic
#335015 #155050 #321550 #501515
square
#335015 #155050 #321550 #501515
split-complementary
#335015 #151550 #501550
monochromatic
#0F1806 #142008 #335015 #528022 #71B12E

Accessibility & contrast

On white

9.13
#335015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#335015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335015
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335015#FFFFFF#000000##FFFFFF
##3350151.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0D
Deuteranopia (green-blind)
#50471A
Tritanopia (blue-blind)
#344C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #335015;
/* rgb */ color: rgb(51, 80, 21);
/* oklch */ color: oklch(39.5% 0.092 131.9);
Tailwind
colors: {
  custom: {
    50: '#6d8156',
    500: '#335015',
    950: '#000000',
  },
}
SCSS
$custom: #335015;
$custom-light: #6d8156;
$custom-dark: #000000;
JSON
{
  "hex": "#335015",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 89.492,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.0921,
    "h": 131.9
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#335015
secondary
#603988
accent
#46E293
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #335015

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

Preview Lab → · Contrast checker → · Palette generator →

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