#279A2A#279A2A

#279A2A is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.1% C 0.180 H 143.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#279A2A
RGBrgb(39, 154, 42)
HSLhsl(122, 60%, 38%)
HSVhsv(122, 75%, 60%)
CMYKcmyk(74.7%, 0%, 72.7%, 39.6%)
CIE-LABlab(55.79, -53.11, 47.29)
CIE-LCHlch(55.79, 71.11, 138.32°)
OKLaboklab(60.15% -0.144 0.1076)
OKLCHoklch(60.15% 0.18 143.2)
XYZxyz(12.8094, 23.7082, 6.0911)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279A2A #9A2797
analogous
#5E9A27 #279A2A #279A63
triadic
#279A2A #2A279A #9A2A27
tetradic
#279A2A #275E9A #9A2797 #9A6327
square
#279A2A #275E9A #9A2797 #9A6327
split-complementary
#279A2A #63279A #9A275E
monochromatic
#0E380F #1B691D #279A2A #33CB37 #64D867

Accessibility & contrast

On white

3.66
#279A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#279A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #279A2A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##279A2A#FFFFFF#000000##000000
##279A2A1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B17
Deuteranopia (green-blind)
#908235
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #279a2a;
/* rgb */ color: rgb(39, 154, 42);
/* oklch */ color: oklch(60.1% 0.180 143.2);
Tailwind
colors: {
  custom: {
    50: '#74b96a',
    500: '#279a2a',
    950: '#000000',
  },
}
SCSS
$custom: #279a2a;
$custom-light: #74b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#279a2a",
  "rgb": {
    "r": 39,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 121.565,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60146,
    "c": 0.1798,
    "h": 143.2
  },
  "luminance": 0.2371
}

Semantic roles & 50–950 ramp

primary
#279A2A
secondary
#BD5FBB
accent
#45DFE3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #279A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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