#337F26#337F26

#337F26 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.145 H 140.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#337F26
RGBrgb(51, 127, 38)
HSLhsl(111, 54%, 32%)
HSVhsv(111, 70%, 50%)
CMYKcmyk(59.8%, 0%, 70.1%, 50.2%)
CIE-LABlab(47.00, -41.13, 39.81)
CIE-LCHlch(47.00, 57.24, 135.93°)
OKLaboklab(52.95% -0.1125 0.0913)
OKLCHoklch(52.95% 0.145 140.9)
XYZxyz(9.3040, 16.0217, 4.4355)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F26 #72267F
analogous
#607F26 #337F26 #267F46
triadic
#337F26 #26337F #7F2633
tetradic
#337F26 #26607F #72267F #7F4626
square
#337F26 #26607F #72267F #7F4626
split-complementary
#337F26 #46267F #7F2660
monochromatic
#0D210A #205018 #337F26 #46AE34 #65CC54

Accessibility & contrast

On white

4.99
#337F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#337F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F26
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F26#FFFFFF#000000##FFFFFF
##337F261.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#297B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f26;
/* rgb */ color: rgb(51, 127, 38);
/* oklch */ color: oklch(52.9% 0.145 140.9);
Tailwind
colors: {
  custom: {
    50: '#74a565',
    500: '#337f26',
    950: '#000000',
  },
}
SCSS
$custom: #337f26;
$custom-light: #74a565;
$custom-dark: #000000;
JSON
{
  "hex": "#337f26",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 111.236,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.1449,
    "h": 140.9
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#337F26
secondary
#A251B0
accent
#4ADDC8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F26

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

Preview Lab → · Contrast checker → · Palette generator →

#337F26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva