#336D10#336D10

#336D10 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.7% C 0.135 H 136.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#336D10
RGBrgb(51, 109, 16)
HSLhsl(97, 74%, 25%)
HSVhsv(97, 85%, 43%)
CMYKcmyk(53.2%, 0%, 85.3%, 57.3%)
CIE-LABlab(40.70, -35.54, 41.84)
CIE-LCHlch(40.70, 54.90, 130.34°)
OKLaboklab(47.7% -0.0988 0.0923)
OKLCHoklch(47.7% 0.135 136.9)
XYZxyz(6.9272, 11.6780, 2.3792)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D10 #4A106D
analogous
#626D10 #336D10 #106D1B
triadic
#336D10 #10336D #6D1033
tetradic
#336D10 #10626D #4A106D #6D1B10
square
#336D10 #10626D #4A106D #6D1B10
split-complementary
#336D10 #1B106D #6D1062
monochromatic
#0C1B04 #1A3808 #336D10 #4CA218 #65D820

Accessibility & contrast

On white

6.30
#336D10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#336D10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D10
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D10#FFFFFF#000000##FFFFFF
##336D101.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#2F695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d10;
/* rgb */ color: rgb(51, 109, 16);
/* oklch */ color: oklch(47.7% 0.135 136.9);
Tailwind
colors: {
  custom: {
    50: '#729758',
    500: '#336d10',
    950: '#000000',
  },
}
SCSS
$custom: #336d10;
$custom-light: #729758;
$custom-dark: #000000;
JSON
{
  "hex": "#336d10",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 16
  },
  "hsl": {
    "h": 97.419,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47702,
    "c": 0.13525,
    "h": 136.9
  },
  "luminance": 0.11678
}

Semantic roles & 50–950 ramp

primary
#336D10
secondary
#7A34A5
accent
#37F1AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336D10

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

Preview Lab → · Contrast checker → · Palette generator →

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