#279A1F#279A1F

#279A1F is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.1% C 0.186 H 142.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#279A1F
RGBrgb(39, 154, 31)
HSLhsl(116, 66%, 36%)
HSVhsv(116, 80%, 60%)
CMYKcmyk(74.7%, 0%, 79.9%, 39.6%)
CIE-LABlab(55.73, -53.95, 51.14)
CIE-LCHlch(55.73, 74.34, 136.54°)
OKLaboklab(60.07% -0.1468 0.1141)
OKLCHoklch(60.07% 0.186 142.1)
XYZxyz(12.6389, 23.6400, 5.1929)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279A1F #921F9A
analogous
#659A1F #279A1F #1F9A55
triadic
#279A1F #1F279A #9A1F27
tetradic
#279A1F #1F659A #921F9A #9A551F
square
#279A1F #1F659A #921F9A #9A551F
split-complementary
#279A1F #551F9A #9A1F65
monochromatic
#0D340A #1A6715 #279A1F #34CD29 #5FDD56

Accessibility & contrast

On white

3.67
#279A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#279A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #279A1F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##279A1F#FFFFFF#000000##000000
##279A1F1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #279a1f;
/* rgb */ color: rgb(39, 154, 31);
/* oklch */ color: oklch(60.1% 0.186 142.1);
Tailwind
colors: {
  custom: {
    50: '#75b965',
    500: '#279a1f',
    950: '#000000',
  },
}
SCSS
$custom: #279a1f;
$custom-light: #75b965;
$custom-dark: #000000;
JSON
{
  "hex": "#279a1f",
  "rgb": {
    "r": 39,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 116.098,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60067,
    "c": 0.18598,
    "h": 142.1
  },
  "luminance": 0.23641
}

Semantic roles & 50–950 ramp

primary
#279A1F
secondary
#BA54C1
accent
#3EE9DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #279A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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