#279A21#279A21

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

Color values

HEX#279A21
RGBrgb(39, 154, 33)
HSLhsl(117, 65%, 37%)
HSVhsv(117, 79%, 60%)
CMYKcmyk(74.7%, 0%, 78.6%, 39.6%)
CIE-LABlab(55.74, -53.82, 50.49)
CIE-LCHlch(55.74, 73.80, 136.83°)
OKLaboklab(60.08% -0.1464 0.1131)
OKLCHoklch(60.08% 0.185 142.3)
XYZxyz(12.6661, 23.6509, 5.3361)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279A21 #94219A
analogous
#649A21 #279A21 #219A58
triadic
#279A21 #21279A #9A2127
tetradic
#279A21 #21649A #94219A #9A5821
square
#279A21 #21649A #94219A #9A5821
split-complementary
#279A21 #58219A #9A2164
monochromatic
#0D350B #1A6816 #279A21 #34CC2C #60DC5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##279A21#FFFFFF#000000##000000
##279A211.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B01
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #279a21;
/* rgb */ color: rgb(39, 154, 33);
/* oklch */ color: oklch(60.1% 0.185 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b966',
    500: '#279a21',
    950: '#000000',
  },
}
SCSS
$custom: #279a21;
$custom-light: #75b966;
$custom-dark: #000000;
JSON
{
  "hex": "#279a21",
  "rgb": {
    "r": 39,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 117.025,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.18497,
    "h": 142.3
  },
  "luminance": 0.23652
}

Semantic roles & 50–950 ramp

primary
#279A21
secondary
#BB57C0
accent
#40E8DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #279A21

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

Preview Lab → · Contrast checker → · Palette generator →

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