#279F42#279F42

#279F42 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.8% C 0.168 H 146.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#279F42
RGBrgb(39, 159, 66)
HSLhsl(134, 61%, 39%)
HSVhsv(134, 75%, 62%)
CMYKcmyk(75.5%, 0%, 58.5%, 37.6%)
CIE-LABlab(57.67, -52.14, 38.79)
CIE-LCHlch(57.67, 64.99, 143.35°)
OKLaboklab(61.78% -0.1404 0.0921)
OKLCHoklch(61.78% 0.168 146.8)
XYZxyz(14.2172, 25.6193, 9.3489)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279F42 #9F2784
analogous
#489F27 #279F42 #279F7E
triadic
#279F42 #42279F #9F4227
tetradic
#279F42 #27489F #9F2784 #9F7E27
square
#279F42 #27489F #9F2784 #9F7E27
split-complementary
#279F42 #7E279F #9F2748
monochromatic
#0F3D19 #1B6E2E #279F42 #36CE58 #67DA81

Accessibility & contrast

On white

3.43
#279F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#279F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #279F42
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##279F42#FFFFFF#000000##000000
##279F421.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19039
Deuteranopia (green-blind)
#938749
Tritanopia (blue-blind)
#009B8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #279f42;
/* rgb */ color: rgb(39, 159, 66);
/* oklch */ color: oklch(61.8% 0.168 146.8);
Tailwind
colors: {
  custom: {
    50: '#74bc79',
    500: '#279f42',
    950: '#000000',
  },
}
SCSS
$custom: #279f42;
$custom-light: #74bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#279f42",
  "rgb": {
    "r": 39,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 133.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.1679,
    "h": 146.8
  },
  "luminance": 0.25621
}

Semantic roles & 50–950 ramp

primary
#279F42
secondary
#C062AB
accent
#44C0E4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #279F42

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

Preview Lab → · Contrast checker → · Palette generator →

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