#336910#336910

#336910 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.6% C 0.130 H 136.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#336910
RGBrgb(51, 105, 16)
HSLhsl(96, 74%, 24%)
HSVhsv(96, 85%, 41%)
CMYKcmyk(51.4%, 0%, 84.8%, 58.8%)
CIE-LABlab(39.32, -33.86, 40.57)
CIE-LCHlch(39.32, 52.84, 129.85°)
OKLaboklab(46.56% -0.0943 0.0897)
OKLCHoklch(46.56% 0.13 136.4)
XYZxyz(6.5102, 10.8439, 2.2402)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336910 #461069
analogous
#5F6910 #336910 #106919
triadic
#336910 #103369 #691033
tetradic
#336910 #105F69 #461069 #691910
square
#336910 #105F69 #461069 #691910
split-complementary
#336910 #191069 #69105F
monochromatic
#0D1B04 #193408 #336910 #4D9E18 #67D320

Accessibility & contrast

On white

6.63
#336910 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#336910 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336910
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336910#FFFFFF#000000##FFFFFF
##3369101.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#306559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336910;
/* rgb */ color: rgb(51, 105, 16);
/* oklch */ color: oklch(46.6% 0.130 136.4);
Tailwind
colors: {
  custom: {
    50: '#719457',
    500: '#336910',
    950: '#000000',
  },
}
SCSS
$custom: #336910;
$custom-light: #719457;
$custom-dark: #000000;
JSON
{
  "hex": "#336910",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 16
  },
  "hsl": {
    "h": 96.404,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.13013,
    "h": 136.4
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#336910
secondary
#7634A1
accent
#38F0A8
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #336910

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

Preview Lab → · Contrast checker → · Palette generator →

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