#336810#336810

#336810 is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.3% C 0.129 H 136.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#336810
RGBrgb(51, 104, 16)
HSLhsl(96, 73%, 24%)
HSVhsv(96, 85%, 41%)
CMYKcmyk(51%, 0%, 84.6%, 59.2%)
CIE-LABlab(38.97, -33.43, 40.25)
CIE-LCHlch(38.97, 52.32, 129.71°)
OKLaboklab(46.28% -0.0932 0.089)
OKLCHoklch(46.28% 0.129 136.3)
XYZxyz(6.4089, 10.6414, 2.2064)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336810 #451068
analogous
#5F6810 #336810 #106819
triadic
#336810 #103368 #681033
tetradic
#336810 #105F68 #451068 #681910
square
#336810 #105F68 #451068 #681910
split-complementary
#336810 #191068 #68105F
monochromatic
#0D1B04 #193308 #336810 #4D9D18 #67D220

Accessibility & contrast

On white

6.71
#336810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#336810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336810
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336810#FFFFFF#000000##FFFFFF
##3368101.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#306458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336810;
/* rgb */ color: rgb(51, 104, 16);
/* oklch */ color: oklch(46.3% 0.129 136.3);
Tailwind
colors: {
  custom: {
    50: '#719357',
    500: '#336810',
    950: '#000000',
  },
}
SCSS
$custom: #336810;
$custom-light: #719357;
$custom-dark: #000000;
JSON
{
  "hex": "#336810",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 96.136,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.12883,
    "h": 136.3
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#336810
secondary
#7534A0
accent
#38F0A7
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #336810

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

Preview Lab → · Contrast checker → · Palette generator →

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