#278F28#278F28

#278F28 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.168 H 143.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#278F28
RGBrgb(39, 143, 40)
HSLhsl(121, 57%, 36%)
HSVhsv(121, 73%, 56%)
CMYKcmyk(72.7%, 0%, 72%, 43.9%)
CIE-LABlab(52.09, -49.54, 44.24)
CIE-LCHlch(52.09, 66.42, 138.23°)
OKLaboklab(57.07% -0.1344 0.101)
OKLCHoklch(57.07% 0.168 143.1)
XYZxyz(11.0415, 20.2282, 5.3296)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F28 #8F278E
analogous
#5A8F27 #278F28 #278F5C
triadic
#278F28 #28278F #8F2827
tetradic
#278F28 #275A8F #8F278E #8F5C27
square
#278F28 #275A8F #8F278E #8F5C27
split-complementary
#278F28 #5C278F #8F275A
monochromatic
#0D2F0D #1A5F1B #278F28 #34BF35 #5DD35F

Accessibility & contrast

On white

4.16
#278F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#278F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F28
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F28#FFFFFF#000000##000000
##278F281.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#028B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f28;
/* rgb */ color: rgb(39, 143, 40);
/* oklch */ color: oklch(57.1% 0.168 143.1);
Tailwind
colors: {
  custom: {
    50: '#72b168',
    500: '#278f28',
    950: '#000000',
  },
}
SCSS
$custom: #278f28;
$custom-light: #72b168;
$custom-dark: #000000;
JSON
{
  "hex": "#278f28",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 120.577,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.16815,
    "h": 143.1
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#278F28
secondary
#B85AB7
accent
#47DFE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278F28

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

Preview Lab → · Contrast checker → · Palette generator →

#278F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva