#336E10#336E10

#336E10 is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.137 H 137.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#336E10
RGBrgb(51, 110, 16)
HSLhsl(98, 75%, 25%)
HSVhsv(98, 85%, 43%)
CMYKcmyk(53.6%, 0%, 85.5%, 56.9%)
CIE-LABlab(41.04, -35.96, 42.16)
CIE-LCHlch(41.04, 55.41, 130.46°)
OKLaboklab(47.99% -0.0999 0.093)
OKLCHoklch(47.99% 0.137 137.1)
XYZxyz(7.0345, 11.8926, 2.4149)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E10 #4B106E
analogous
#626E10 #336E10 #106E1C
triadic
#336E10 #10336E #6E1033
tetradic
#336E10 #10626E #4B106E #6E1C10
square
#336E10 #10626E #4B106E #6E1C10
split-complementary
#336E10 #1C106E #6E1062
monochromatic
#0C1B04 #1A3908 #336E10 #4CA318 #65D920

Accessibility & contrast

On white

6.22
#336E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#336E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E10
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E10#FFFFFF#000000##FFFFFF
##336E101.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#2F6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e10;
/* rgb */ color: rgb(51, 110, 16);
/* oklch */ color: oklch(48.0% 0.137 137.1);
Tailwind
colors: {
  custom: {
    50: '#729858',
    500: '#336e10',
    950: '#000000',
  },
}
SCSS
$custom: #336e10;
$custom-light: #729858;
$custom-dark: #000000;
JSON
{
  "hex": "#336e10",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 16
  },
  "hsl": {
    "h": 97.66,
    "s": 74.603,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.13652,
    "h": 137.1
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#336E10
secondary
#7B34A6
accent
#37F1AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E10

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

Preview Lab → · Contrast checker → · Palette generator →

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