#336419#336419

#336419 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.2% C 0.118 H 136.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#336419
RGBrgb(51, 100, 25)
HSLhsl(99, 60%, 25%)
HSVhsv(99, 75%, 39%)
CMYKcmyk(49%, 0%, 75%, 60.8%)
CIE-LABlab(37.64, -31.05, 35.59)
CIE-LCHlch(37.64, 47.23, 131.10°)
OKLaboklab(45.2% -0.0861 0.0807)
OKLCHoklch(45.2% 0.118 136.9)
XYZxyz(6.0977, 9.8879, 2.5068)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336419 #4A1964
analogous
#596419 #336419 #196425
triadic
#336419 #193364 #641933
tetradic
#336419 #195964 #4A1964 #642519
square
#336419 #195964 #4A1964 #642519
split-complementary
#336419 #251964 #641959
monochromatic
#0C1806 #1A330D #336419 #4C9525 #65C631

Accessibility & contrast

On white

7.05
#336419 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#336419 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336419
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336419#FFFFFF#000000##FFFFFF
##3364191.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0D
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#306055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #336419;
/* rgb */ color: rgb(51, 100, 25);
/* oklch */ color: oklch(45.2% 0.118 136.9);
Tailwind
colors: {
  custom: {
    50: '#70905b',
    500: '#336419',
    950: '#000000',
  },
}
SCSS
$custom: #336419;
$custom-light: #70905b;
$custom-dark: #000000;
JSON
{
  "hex": "#336419",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 25
  },
  "hsl": {
    "h": 99.2,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45204,
    "c": 0.118,
    "h": 136.9
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#336419
secondary
#7A3F9A
accent
#45E3AC
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336419

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

Preview Lab → · Contrast checker → · Palette generator →

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