#336413#336413

#336413 is a mid, vivid yellow-green. Relative luminance 0.099; OKLCH L 45.2% C 0.122 H 136.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#336413
RGBrgb(51, 100, 19)
HSLhsl(96, 68%, 23%)
HSVhsv(96, 81%, 39%)
CMYKcmyk(49%, 0%, 81%, 60.8%)
CIE-LABlab(37.60, -31.50, 37.92)
CIE-LCHlch(37.60, 49.30, 129.72°)
OKLaboklab(45.16% -0.0878 0.0846)
OKLCHoklch(45.16% 0.122 136.1)
XYZxyz(6.0398, 9.8648, 2.2018)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336413 #441364
analogous
#5B6413 #336413 #13641B
triadic
#336413 #133364 #641333
tetradic
#336413 #135B64 #441364 #641B13
square
#336413 #135B64 #441364 #641B13
split-complementary
#336413 #1B1364 #64135B
monochromatic
#0D1A05 #193109 #336413 #4D971D #67CB27

Accessibility & contrast

On white

7.06
#336413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#336413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336413
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336413#FFFFFF#000000##FFFFFF
##3364131.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B02
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#316055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336413;
/* rgb */ color: rgb(51, 100, 19);
/* oklch */ color: oklch(45.2% 0.122 136.1);
Tailwind
colors: {
  custom: {
    50: '#709058',
    500: '#336413',
    950: '#000000',
  },
}
SCSS
$custom: #336413;
$custom-light: #709058;
$custom-dark: #000000;
JSON
{
  "hex": "#336413",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 19
  },
  "hsl": {
    "h": 96.296,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.12192,
    "h": 136.1
  },
  "luminance": 0.09865
}

Semantic roles & 50–950 ramp

primary
#336413
secondary
#74379C
accent
#3DEBA6
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336413

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

Preview Lab → · Contrast checker → · Palette generator →

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