#279828#279828

#279828 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.179 H 143.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#279828
RGBrgb(39, 152, 40)
HSLhsl(121, 59%, 37%)
HSVhsv(121, 74%, 60%)
CMYKcmyk(74.3%, 0%, 73.7%, 40.4%)
CIE-LABlab(55.11, -52.61, 47.36)
CIE-LCHlch(55.11, 70.79, 138.00°)
OKLaboklab(59.58% -0.1428 0.1075)
OKLCHoklch(59.58% 0.179 143)
XYZxyz(12.4472, 23.0396, 5.7982)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279828 #982797
analogous
#5F9827 #279828 #279861
triadic
#279828 #282798 #982827
tetradic
#279828 #275F98 #982797 #986127
square
#279828 #275F98 #982797 #986127
split-complementary
#279828 #612798 #98275F
monochromatic
#0E370E #1B671B #279828 #33C935 #63D764

Accessibility & contrast

On white

3.74
#279828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#279828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #279828
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##279828#FFFFFF#000000##000000
##2798281.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #279828;
/* rgb */ color: rgb(39, 152, 40);
/* oklch */ color: oklch(59.6% 0.179 143.0);
Tailwind
colors: {
  custom: {
    50: '#74b769',
    500: '#279828',
    950: '#000000',
  },
}
SCSS
$custom: #279828;
$custom-light: #74b769;
$custom-dark: #000000;
JSON
{
  "hex": "#279828",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 120.531,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.17872,
    "h": 143
  },
  "luminance": 0.23041
}

Semantic roles & 50–950 ramp

primary
#279828
secondary
#BC5EBC
accent
#45E1E2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #279828

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

Preview Lab → · Contrast checker → · Palette generator →

#279828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva