#279B21#279B21

#279B21 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.186 H 142.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#279B21
RGBrgb(39, 155, 33)
HSLhsl(117, 65%, 37%)
HSVhsv(117, 79%, 61%)
CMYKcmyk(74.8%, 0%, 78.7%, 39.2%)
CIE-LABlab(56.07, -54.15, 50.82)
CIE-LCHlch(56.07, 74.26, 136.82°)
OKLaboklab(60.36% -0.1473 0.1138)
OKLCHoklch(60.36% 0.186 142.3)
XYZxyz(12.8318, 23.9824, 5.3913)
Luminance0.2398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279B21 #95219B
analogous
#649B21 #279B21 #219B58
triadic
#279B21 #21279B #9B2127
tetradic
#279B21 #21649B #95219B #9B5821
square
#279B21 #21649B #95219B #9B5821
split-complementary
#279B21 #58219B #9B2164
monochromatic
#0E360C #1A6916 #279B21 #34CD2C #61DC5A

Accessibility & contrast

On white

3.62
#279B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#279B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #279B21
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##279B21#FFFFFF#000000##000000
##279B211.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #279b21;
/* rgb */ color: rgb(39, 155, 33);
/* oklch */ color: oklch(60.4% 0.186 142.3);
Tailwind
colors: {
  custom: {
    50: '#75ba66',
    500: '#279b21',
    950: '#000000',
  },
}
SCSS
$custom: #279b21;
$custom-light: #75ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#279b21",
  "rgb": {
    "r": 39,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 117.049,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.18608,
    "h": 142.3
  },
  "luminance": 0.23984
}

Semantic roles & 50–950 ramp

primary
#279B21
secondary
#BB58C0
accent
#40E8E0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #279B21

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

Preview Lab → · Contrast checker → · Palette generator →

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