#278F2B#278F2B

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

Color values

HEX#278F2B
RGBrgb(39, 143, 43)
HSLhsl(122, 57%, 36%)
HSVhsv(122, 73%, 56%)
CMYKcmyk(72.7%, 0%, 69.9%, 43.9%)
CIE-LABlab(52.12, -49.25, 43.03)
CIE-LCHlch(52.12, 65.40, 138.86°)
OKLaboklab(57.1% -0.1335 0.0988)
OKLCHoklch(57.1% 0.166 143.5)
XYZxyz(11.0945, 20.2494, 5.6089)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F2B #8F278B
analogous
#578F27 #278F2B #278F5F
triadic
#278F2B #2B278F #8F2B27
tetradic
#278F2B #27578F #8F278B #8F5F27
square
#278F2B #27578F #8F278B #8F5F27
split-complementary
#278F2B #5F278F #8F2757
monochromatic
#0D2F0E #1A5F1D #278F2B #34BF39 #5DD362

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278F2B#FFFFFF#000000##000000
##278F2B1.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)
#92811D
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f2b;
/* rgb */ color: rgb(39, 143, 43);
/* oklch */ color: oklch(57.1% 0.166 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b16a',
    500: '#278f2b',
    950: '#000000',
  },
}
SCSS
$custom: #278f2b;
$custom-light: #72b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#278f2b",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 122.308,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57098,
    "c": 0.16611,
    "h": 143.5
  },
  "luminance": 0.20251
}

Semantic roles & 50–950 ramp

primary
#278F2B
secondary
#B85AB5
accent
#47DBE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #278F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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