#336A10#336A10

#336A10 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.8% C 0.131 H 136.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#336A10
RGBrgb(51, 106, 16)
HSLhsl(97, 74%, 24%)
HSVhsv(97, 85%, 42%)
CMYKcmyk(51.9%, 0%, 84.9%, 58.4%)
CIE-LABlab(39.66, -34.28, 40.89)
CIE-LCHlch(39.66, 53.36, 129.98°)
OKLaboklab(46.85% -0.0954 0.0903)
OKLCHoklch(46.85% 0.131 136.6)
XYZxyz(6.6126, 11.0488, 2.2743)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A10 #47106A
analogous
#606A10 #336A10 #106A1A
triadic
#336A10 #10336A #6A1033
tetradic
#336A10 #10606A #47106A #6A1A10
square
#336A10 #10606A #47106A #6A1A10
split-complementary
#336A10 #1A106A #6A1060
monochromatic
#0D1B04 #193508 #336A10 #4D9F18 #66D420

Accessibility & contrast

On white

6.54
#336A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#336A10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A10
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A10#FFFFFF#000000##FFFFFF
##336A101.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#30665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336a10;
/* rgb */ color: rgb(51, 106, 16);
/* oklch */ color: oklch(46.8% 0.131 136.6);
Tailwind
colors: {
  custom: {
    50: '#719557',
    500: '#336a10',
    950: '#000000',
  },
}
SCSS
$custom: #336a10;
$custom-light: #719557;
$custom-dark: #000000;
JSON
{
  "hex": "#336a10",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 96.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.13142,
    "h": 136.6
  },
  "luminance": 0.11049
}

Semantic roles & 50–950 ramp

primary
#336A10
secondary
#7734A2
accent
#37F0A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #336A10

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

Preview Lab → · Contrast checker → · Palette generator →

#336A10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva