#336E0F#336E0F

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

Color values

HEX#336E0F
RGBrgb(51, 110, 15)
HSLhsl(97, 76%, 25%)
HSVhsv(97, 86%, 43%)
CMYKcmyk(53.6%, 0%, 86.4%, 56.9%)
CIE-LABlab(41.04, -36.01, 42.45)
CIE-LCHlch(41.04, 55.67, 130.30°)
OKLaboklab(47.98% -0.1001 0.0935)
OKLCHoklch(47.98% 0.137 137)
XYZxyz(7.0272, 11.8896, 2.3765)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E0F #4A0F6E
analogous
#636E0F #336E0F #0F6E1A
triadic
#336E0F #0F336E #6E0F33
tetradic
#336E0F #0F636E #4A0F6E #6E1A0F
square
#336E0F #0F636E #4A0F6E #6E1A0F
split-complementary
#336E0F #1A0F6E #6E0F63
monochromatic
#0C1B04 #1A3808 #336E0F #4CA416 #65DA1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336E0F#FFFFFF#000000##FFFFFF
##336E0F1.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)
#6A5F1B
Tritanopia (blue-blind)
#2F6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e0f;
/* rgb */ color: rgb(51, 110, 15);
/* oklch */ color: oklch(48.0% 0.137 137.0);
Tailwind
colors: {
  custom: {
    50: '#729858',
    500: '#336e0f',
    950: '#000000',
  },
}
SCSS
$custom: #336e0f;
$custom-light: #729858;
$custom-dark: #000000;
JSON
{
  "hex": "#336e0f",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 15
  },
  "hsl": {
    "h": 97.263,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47981,
    "c": 0.13697,
    "h": 137
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#336E0F
secondary
#7A33A6
accent
#35F3AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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