#278F26#278F26

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

Color values

HEX#278F26
RGBrgb(39, 143, 38)
HSLhsl(119, 58%, 35%)
HSVhsv(119, 73%, 56%)
CMYKcmyk(72.7%, 0%, 73.4%, 43.9%)
CIE-LABlab(52.08, -49.72, 45.03)
CIE-LCHlch(52.08, 67.08, 137.84°)
OKLaboklab(57.05% -0.135 0.1024)
OKLCHoklch(57.05% 0.169 142.8)
XYZxyz(11.0083, 20.2150, 5.1551)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F26 #8E268F
analogous
#5B8F26 #278F26 #268F5A
triadic
#278F26 #26278F #8F2627
tetradic
#278F26 #265B8F #8E268F #8F5A26
square
#278F26 #265B8F #8E268F #8F5A26
split-complementary
#278F26 #5A268F #8F265B
monochromatic
#0D2E0C #1A5F19 #278F26 #34BF33 #5DD45C

Accessibility & contrast

On white

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

On black

5.04
#278F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F26
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F26#FFFFFF#000000##000000
##278F261.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#038B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f26;
/* rgb */ color: rgb(39, 143, 38);
/* oklch */ color: oklch(57.1% 0.169 142.8);
Tailwind
colors: {
  custom: {
    50: '#72b167',
    500: '#278f26',
    950: '#000000',
  },
}
SCSS
$custom: #278f26;
$custom-light: #72b167;
$custom-dark: #000000;
JSON
{
  "hex": "#278f26",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 119.429,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.16945,
    "h": 142.8
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#278F26
secondary
#B858B9
accent
#47E1E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278F26

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

Preview Lab → · Contrast checker → · Palette generator →

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