#337010#337010

#337010 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.139 H 137.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#337010
RGBrgb(51, 112, 16)
HSLhsl(98, 75%, 25%)
HSVhsv(98, 86%, 44%)
CMYKcmyk(54.5%, 0%, 85.7%, 56.1%)
CIE-LABlab(41.73, -36.78, 42.79)
CIE-LCHlch(41.73, 56.42, 130.68°)
OKLaboklab(48.55% -0.1021 0.0943)
OKLCHoklch(48.55% 0.139 137.3)
XYZxyz(7.2527, 12.3290, 2.4877)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337010 #4D1070
analogous
#637010 #337010 #10701D
triadic
#337010 #103370 #701033
tetradic
#337010 #106370 #4D1070 #701D10
square
#337010 #106370 #4D1070 #701D10
split-complementary
#337010 #1D1070 #701063
monochromatic
#0C1B04 #1B3A08 #337010 #4BA618 #64DB1F

Accessibility & contrast

On white

6.06
#337010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#337010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337010
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337010#FFFFFF#000000##FFFFFF
##3370101.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C611C
Tritanopia (blue-blind)
#2F6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #337010;
/* rgb */ color: rgb(51, 112, 16);
/* oklch */ color: oklch(48.6% 0.139 137.3);
Tailwind
colors: {
  custom: {
    50: '#729a58',
    500: '#337010',
    950: '#000000',
  },
}
SCSS
$custom: #337010;
$custom-light: #729a58;
$custom-dark: #000000;
JSON
{
  "hex": "#337010",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 98.125,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.13903,
    "h": 137.3
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#337010
secondary
#7E34A8
accent
#36F2AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337010

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

Preview Lab → · Contrast checker → · Palette generator →

#337010 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva