#336619#336619

#336619 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.121 H 137.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#336619
RGBrgb(51, 102, 25)
HSLhsl(100, 61%, 25%)
HSVhsv(100, 75%, 40%)
CMYKcmyk(50%, 0%, 75.5%, 60%)
CIE-LABlab(38.33, -31.93, 36.30)
CIE-LCHlch(38.33, 48.35, 131.34°)
OKLaboklab(45.77% -0.0885 0.0822)
OKLCHoklch(45.77% 0.121 137.1)
XYZxyz(6.2919, 10.2763, 2.5715)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336619 #4C1966
analogous
#5A6619 #336619 #196625
triadic
#336619 #193366 #661933
tetradic
#336619 #195A66 #4C1966 #662519
square
#336619 #195A66 #4C1966 #662519
split-complementary
#336619 #251966 #66195A
monochromatic
#0C1906 #1A350D #336619 #4C9725 #64C831

Accessibility & contrast

On white

6.87
#336619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#336619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336619
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336619#FFFFFF#000000##FFFFFF
##3366191.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0C
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#306257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #336619;
/* rgb */ color: rgb(51, 102, 25);
/* oklch */ color: oklch(45.8% 0.121 137.1);
Tailwind
colors: {
  custom: {
    50: '#70925b',
    500: '#336619',
    950: '#000000',
  },
}
SCSS
$custom: #336619;
$custom-light: #70925b;
$custom-dark: #000000;
JSON
{
  "hex": "#336619",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 25
  },
  "hsl": {
    "h": 99.74,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.12077,
    "h": 137.1
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#336619
secondary
#7C3F9C
accent
#44E4AE
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336619

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

Preview Lab → · Contrast checker → · Palette generator →

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