#335014#335014

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

Color values

HEX#335014
RGBrgb(51, 80, 20)
HSLhsl(89, 60%, 20%)
HSVhsv(89, 75%, 31%)
CMYKcmyk(36.3%, 0%, 75%, 68.6%)
CIE-LABlab(30.62, -21.96, 30.54)
CIE-LCHlch(30.62, 37.62, 125.72°)
OKLaboklab(39.45% -0.0619 0.0693)
OKLCHoklch(39.45% 0.093 131.7)
XYZxyz(4.3601, 6.4915, 1.6849)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335014 #311450
analogous
#504F14 #335014 #155014
triadic
#335014 #143350 #501433
tetradic
#335014 #14504F #311450 #501415
square
#335014 #14504F #311450 #501415
split-complementary
#335014 #141550 #4F1450
monochromatic
#101806 #141F08 #335014 #528120 #71B22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335014#FFFFFF#000000##FFFFFF
##3350141.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)
#544A0B
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#344C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #335014;
/* rgb */ color: rgb(51, 80, 20);
/* oklch */ color: oklch(39.4% 0.093 131.7);
Tailwind
colors: {
  custom: {
    50: '#6d8155',
    500: '#335014',
    950: '#000000',
  },
}
SCSS
$custom: #335014;
$custom-light: #6d8155;
$custom-dark: #000000;
JSON
{
  "hex": "#335014",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 89,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.09291,
    "h": 131.7
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#335014
secondary
#5F3888
accent
#45E391
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #335014

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

Preview Lab → · Contrast checker → · Palette generator →

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