#337211#337211

#337211 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.1% C 0.141 H 137.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#337211
RGBrgb(51, 114, 17)
HSLhsl(99, 74%, 26%)
HSVhsv(99, 85%, 45%)
CMYKcmyk(55.3%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.43, -37.54, 43.13)
CIE-LCHlch(42.43, 57.18, 131.04°)
OKLaboklab(49.13% -0.1041 0.0952)
OKLCHoklch(49.13% 0.141 137.6)
XYZxyz(7.4835, 12.7783, 2.6023)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337211 #501172
analogous
#637211 #337211 #11721F
triadic
#337211 #113372 #721133
tetradic
#337211 #116372 #501172 #721F11
square
#337211 #116372 #501172 #721F11
split-complementary
#337211 #1F1172 #721163
monochromatic
#0C1B04 #1B3D09 #337211 #4BA719 #63DD21

Accessibility & contrast

On white

5.91
#337211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#337211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337211
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337211#FFFFFF#000000##FFFFFF
##3372111.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#2E6E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337211;
/* rgb */ color: rgb(51, 114, 17);
/* oklch */ color: oklch(49.1% 0.141 137.6);
Tailwind
colors: {
  custom: {
    50: '#729b59',
    500: '#337211',
    950: '#000000',
  },
}
SCSS
$custom: #337211;
$custom-light: #729b59;
$custom-dark: #000000;
JSON
{
  "hex": "#337211",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 98.969,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.14107,
    "h": 137.6
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#337211
secondary
#8136A9
accent
#37F1B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337211

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

Preview Lab → · Contrast checker → · Palette generator →

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