#279731#279731

#279731 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.171 H 144.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#279731
RGBrgb(39, 151, 49)
HSLhsl(125, 59%, 37%)
HSVhsv(125, 74%, 59%)
CMYKcmyk(74.2%, 0%, 67.5%, 40.8%)
CIE-LABlab(54.85, -51.41, 43.41)
CIE-LCHlch(54.85, 67.29, 139.83°)
OKLaboklab(59.38% -0.1391 0.1003)
OKLCHoklch(59.38% 0.171 144.2)
XYZxyz(12.4569, 22.7849, 6.6466)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279731 #97278D
analogous
#559727 #279731 #279769
triadic
#279731 #312797 #973127
tetradic
#279731 #275597 #97278D #976927
square
#279731 #275597 #97278D #976927
split-complementary
#279731 #692797 #972755
monochromatic
#0E3611 #1A6621 #279731 #34C841 #62D66C

Accessibility & contrast

On white

3.78
#279731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#279731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #279731
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##279731#FFFFFF#000000##000000
##2797311.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#8D803A
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #279731;
/* rgb */ color: rgb(39, 151, 49);
/* oklch */ color: oklch(59.4% 0.171 144.2);
Tailwind
colors: {
  custom: {
    50: '#73b76e',
    500: '#279731',
    950: '#000000',
  },
}
SCSS
$custom: #279731;
$custom-light: #73b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#279731",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 125.357,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.17149,
    "h": 144.2
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#279731
secondary
#BC5EB4
accent
#46D4E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #279731

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

Preview Lab → · Contrast checker → · Palette generator →

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