#336510#336510

#336510 is a mid, vivid yellow-green. Relative luminance 0.100; OKLCH L 45.4% C 0.125 H 135.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#336510
RGBrgb(51, 101, 16)
HSLhsl(95, 73%, 23%)
HSVhsv(95, 84%, 40%)
CMYKcmyk(49.5%, 0%, 84.2%, 60.4%)
CIE-LABlab(37.93, -32.13, 39.28)
CIE-LCHlch(37.93, 50.75, 129.28°)
OKLaboklab(45.42% -0.0897 0.087)
OKLCHoklch(45.42% 0.125 135.9)
XYZxyz(6.1123, 10.0482, 2.1075)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336510 #421065
analogous
#5D6510 #336510 #106517
triadic
#336510 #103365 #651033
tetradic
#336510 #105D65 #421065 #651710
square
#336510 #105D65 #421065 #651710
split-complementary
#336510 #171065 #65105D
monochromatic
#0D1A04 #183008 #336510 #4E9A18 #68CF21

Accessibility & contrast

On white

6.98
#336510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#336510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336510
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336510#FFFFFF#000000##FFFFFF
##3365101.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#316155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #336510;
/* rgb */ color: rgb(51, 101, 16);
/* oklch */ color: oklch(45.4% 0.125 135.9);
Tailwind
colors: {
  custom: {
    50: '#709156',
    500: '#336510',
    950: '#000000',
  },
}
SCSS
$custom: #336510;
$custom-light: #709156;
$custom-dark: #000000;
JSON
{
  "hex": "#336510",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 95.294,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45422,
    "c": 0.12491,
    "h": 135.9
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#336510
secondary
#72339D
accent
#38EFA4
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #336510

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

Preview Lab → · Contrast checker → · Palette generator →

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