#336F10#336F10

#336F10 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.138 H 137.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#336F10
RGBrgb(51, 111, 16)
HSLhsl(98, 75%, 25%)
HSVhsv(98, 86%, 44%)
CMYKcmyk(54.1%, 0%, 85.6%, 56.5%)
CIE-LABlab(41.39, -36.37, 42.48)
CIE-LCHlch(41.39, 55.92, 130.57°)
OKLaboklab(48.27% -0.101 0.0937)
OKLCHoklch(48.27% 0.138 137.2)
XYZxyz(7.1430, 12.1096, 2.4511)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F10 #4C106F
analogous
#626F10 #336F10 #106F1D
triadic
#336F10 #10336F #6F1033
tetradic
#336F10 #10626F #4C106F #6F1D10
square
#336F10 #10626F #4C106F #6F1D10
split-complementary
#336F10 #1D106F #6F1062
monochromatic
#0C1B04 #1A3A08 #336F10 #4CA418 #64DA1F

Accessibility & contrast

On white

6.14
#336F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#336F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F10
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F10#FFFFFF#000000##FFFFFF
##336F101.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#2F6B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f10;
/* rgb */ color: rgb(51, 111, 16);
/* oklch */ color: oklch(48.3% 0.138 137.2);
Tailwind
colors: {
  custom: {
    50: '#729958',
    500: '#336f10',
    950: '#000000',
  },
}
SCSS
$custom: #336f10;
$custom-light: #729958;
$custom-dark: #000000;
JSON
{
  "hex": "#336f10",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 16
  },
  "hsl": {
    "h": 97.895,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.13778,
    "h": 137.2
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#336F10
secondary
#7C34A7
accent
#36F1AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F10

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

Preview Lab → · Contrast checker → · Palette generator →

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