#336410#336410

#336410 is a mid, vivid yellow-green. Relative luminance 0.099; OKLCH L 45.1% C 0.124 H 135.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#336410
RGBrgb(51, 100, 16)
HSLhsl(95, 72%, 23%)
HSVhsv(95, 84%, 39%)
CMYKcmyk(49%, 0%, 84%, 60.8%)
CIE-LABlab(37.58, -31.69, 38.96)
CIE-LCHlch(37.58, 50.22, 129.13°)
OKLaboklab(45.14% -0.0885 0.0863)
OKLCHoklch(45.14% 0.124 135.7)
XYZxyz(6.0158, 9.8552, 2.0754)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336410 #411064
analogous
#5D6410 #336410 #106417
triadic
#336410 #103364 #641033
tetradic
#336410 #105D64 #411064 #641710
square
#336410 #105D64 #411064 #641710
split-complementary
#336410 #171064 #64105D
monochromatic
#0D1A04 #182F08 #336410 #4E9918 #69CE21

Accessibility & contrast

On white

7.07
#336410 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #336410
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336410#FFFFFF#000000##FFFFFF
##3364101.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #336410;
/* rgb */ color: rgb(51, 100, 16);
/* oklch */ color: oklch(45.1% 0.124 135.7);
Tailwind
colors: {
  custom: {
    50: '#709056',
    500: '#336410',
    950: '#000000',
  },
}
SCSS
$custom: #336410;
$custom-light: #709056;
$custom-dark: #000000;
JSON
{
  "hex": "#336410",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 16
  },
  "hsl": {
    "h": 95,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.1236,
    "h": 135.7
  },
  "luminance": 0.09856
}

Semantic roles & 50–950 ramp

primary
#336410
secondary
#71339D
accent
#39EFA3
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336410

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

Preview Lab → · Contrast checker → · Palette generator →

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