#278F2A#278F2A

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

Color values

HEX#278F2A
RGBrgb(39, 143, 42)
HSLhsl(122, 57%, 36%)
HSVhsv(122, 73%, 56%)
CMYKcmyk(72.7%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.11, -49.35, 43.44)
CIE-LCHlch(52.11, 65.75, 138.65°)
OKLaboklab(57.09% -0.1338 0.0996)
OKLCHoklch(57.09% 0.167 143.4)
XYZxyz(11.0764, 20.2422, 5.5134)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F2A #8F278C
analogous
#588F27 #278F2A #278F5E
triadic
#278F2A #2A278F #8F2A27
tetradic
#278F2A #27588F #8F278C #8F5E27
square
#278F2A #27588F #8F278C #8F5E27
split-complementary
#278F2A #5E278F #8F2758
monochromatic
#0D2F0E #1A5F1C #278F2A #34BF38 #5DD361

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278F2A#FFFFFF#000000##000000
##278F2A1.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)
#92811B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#018B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f2a;
/* rgb */ color: rgb(39, 143, 42);
/* oklch */ color: oklch(57.1% 0.167 143.4);
Tailwind
colors: {
  custom: {
    50: '#72b169',
    500: '#278f2a',
    950: '#000000',
  },
}
SCSS
$custom: #278f2a;
$custom-light: #72b169;
$custom-dark: #000000;
JSON
{
  "hex": "#278f2a",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 121.731,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.1668,
    "h": 143.4
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #278F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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