#279A42#279A42

#279A42 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.4% C 0.162 H 147.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#279A42
RGBrgb(39, 154, 66)
HSLhsl(134, 60%, 38%)
HSVhsv(134, 75%, 60%)
CMYKcmyk(74.7%, 0%, 57.1%, 39.6%)
CIE-LABlab(56.02, -50.37, 36.84)
CIE-LCHlch(56.02, 62.40, 143.82°)
OKLaboklab(60.41% -0.1356 0.0878)
OKLCHoklch(60.41% 0.162 147.1)
XYZxyz(13.3747, 23.9344, 9.0681)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279A42 #9A277F
analogous
#459A27 #279A42 #279A7B
triadic
#279A42 #42279A #9A4227
tetradic
#279A42 #27459A #9A277F #9A7B27
square
#279A42 #27459A #9A277F #9A7B27
split-complementary
#279A42 #7B279A #9A2745
monochromatic
#0E3818 #1B692D #279A42 #33CB57 #64D87F

Accessibility & contrast

On white

3.63
#279A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#279A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #279A42
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##279A42#FFFFFF#000000##000000
##279A421.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3A
Deuteranopia (green-blind)
#8F8349
Tritanopia (blue-blind)
#009786
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #279a42;
/* rgb */ color: rgb(39, 154, 66);
/* oklch */ color: oklch(60.4% 0.162 147.1);
Tailwind
colors: {
  custom: {
    50: '#73b979',
    500: '#279a42',
    950: '#000000',
  },
}
SCSS
$custom: #279a42;
$custom-light: #73b979;
$custom-dark: #000000;
JSON
{
  "hex": "#279a42",
  "rgb": {
    "r": 39,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 134.087,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.16157,
    "h": 147.1
  },
  "luminance": 0.23936
}

Semantic roles & 50–950 ramp

primary
#279A42
secondary
#BD5FA7
accent
#45BEE3
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #279A42

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

Preview Lab → · Contrast checker → · Palette generator →

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