#335013#335013

#335013 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.094 H 131.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#335013
RGBrgb(51, 80, 19)
HSLhsl(89, 62%, 19%)
HSVhsv(89, 76%, 31%)
CMYKcmyk(36.3%, 0%, 76.3%, 68.6%)
CIE-LABlab(30.61, -22.04, 30.98)
CIE-LCHlch(30.61, 38.02, 125.43°)
OKLaboklab(39.44% -0.0622 0.0701)
OKLCHoklch(39.44% 0.094 131.6)
XYZxyz(4.3514, 6.4880, 1.6390)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335013 #301350
analogous
#504F13 #335013 #145013
triadic
#335013 #133350 #501333
tetradic
#335013 #13504F #301350 #501314
square
#335013 #13504F #301350 #501314
split-complementary
#335013 #131450 #4F1350
monochromatic
#101906 #131F07 #335013 #53811F #72B32A

Accessibility & contrast

On white

9.14
#335013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335013
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335013#FFFFFF#000000##FFFFFF
##3350131.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544909
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#344C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #335013;
/* rgb */ color: rgb(51, 80, 19);
/* oklch */ color: oklch(39.4% 0.094 131.6);
Tailwind
colors: {
  custom: {
    50: '#6d8155',
    500: '#335013',
    950: '#000000',
  },
}
SCSS
$custom: #335013;
$custom-light: #6d8155;
$custom-dark: #000000;
JSON
{
  "hex": "#335013",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 88.525,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.0937,
    "h": 131.6
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#335013
secondary
#5D3689
accent
#43E590
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #335013

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

Preview Lab → · Contrast checker → · Palette generator →

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