#279A31#279A31

#279A31 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.2% C 0.175 H 144.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#279A31
RGBrgb(39, 154, 49)
HSLhsl(125, 60%, 38%)
HSVhsv(125, 75%, 60%)
CMYKcmyk(74.7%, 0%, 68.2%, 39.6%)
CIE-LABlab(55.85, -52.44, 44.49)
CIE-LCHlch(55.85, 68.77, 139.69°)
OKLaboklab(60.21% -0.1419 0.1026)
OKLCHoklch(60.21% 0.175 144.1)
XYZxyz(12.9458, 23.7628, 6.8095)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279A31 #9A2790
analogous
#579A27 #279A31 #279A6A
triadic
#279A31 #31279A #9A3127
tetradic
#279A31 #27579A #9A2790 #9A6A27
square
#279A31 #27579A #9A2790 #9A6A27
split-complementary
#279A31 #6A279A #9A2757
monochromatic
#0E3812 #1B6921 #279A31 #33CB41 #64D86E

Accessibility & contrast

On white

3.65
#279A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#279A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #279A31
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##279A31#FFFFFF#000000##000000
##279A311.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B23
Deuteranopia (green-blind)
#90823B
Tritanopia (blue-blind)
#009685
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #279a31;
/* rgb */ color: rgb(39, 154, 49);
/* oklch */ color: oklch(60.2% 0.175 144.1);
Tailwind
colors: {
  custom: {
    50: '#74b96e',
    500: '#279a31',
    950: '#000000',
  },
}
SCSS
$custom: #279a31;
$custom-light: #74b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#279a31",
  "rgb": {
    "r": 39,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 125.217,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60209,
    "c": 0.17509,
    "h": 144.1
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#279A31
secondary
#BD5FB5
accent
#45D5E3
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #279A31

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

Preview Lab → · Contrast checker → · Palette generator →

#279A31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva