#278E2B#278E2B

#278E2B is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.165 H 143.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#278E2B
RGBrgb(39, 142, 43)
HSLhsl(122, 57%, 35%)
HSVhsv(122, 73%, 56%)
CMYKcmyk(72.5%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.78, -48.90, 42.67)
CIE-LCHlch(51.78, 64.90, 138.90°)
OKLaboklab(56.82% -0.1326 0.0981)
OKLCHoklch(56.82% 0.165 143.5)
XYZxyz(10.9451, 19.9505, 5.5591)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E2B #8E278A
analogous
#568E27 #278E2B #278E5E
triadic
#278E2B #2B278E #8E2B27
tetradic
#278E2B #27568E #8E278A #8E5E27
square
#278E2B #27568E #8E278A #8E5E27
split-complementary
#278E2B #5E278E #8E2756
monochromatic
#0D2E0E #1A5E1C #278E2B #34BE3A #5DD261

Accessibility & contrast

On white

4.21
#278E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#278E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E2B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E2B#FFFFFF#000000##000000
##278E2B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801D
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#018A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e2b;
/* rgb */ color: rgb(39, 142, 43);
/* oklch */ color: oklch(56.8% 0.165 143.5);
Tailwind
colors: {
  custom: {
    50: '#71b06a',
    500: '#278e2b',
    950: '#000000',
  },
}
SCSS
$custom: #278e2b;
$custom-light: #71b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#278e2b",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 122.33,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56818,
    "c": 0.16489,
    "h": 143.5
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#278E2B
secondary
#B859B4
accent
#48DAE0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #278E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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