#278E2D#278E2D

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

Color values

HEX#278E2D
RGBrgb(39, 142, 45)
HSLhsl(123, 57%, 35%)
HSVhsv(123, 73%, 56%)
CMYKcmyk(72.5%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.80, -48.70, 41.83)
CIE-LCHlch(51.80, 64.20, 139.34°)
OKLaboklab(56.84% -0.1319 0.0965)
OKLCHoklch(56.84% 0.163 143.8)
XYZxyz(10.9827, 19.9656, 5.7571)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E2D #8E2788
analogous
#548E27 #278E2D #278E60
triadic
#278E2D #2D278E #8E2D27
tetradic
#278E2D #27548E #8E2788 #8E6027
square
#278E2D #27548E #8E2788 #8E6027
split-complementary
#278E2D #60278E #8E2754
monochromatic
#0D2E0F #1A5E1E #278E2D #34BE3C #5DD264

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278E2D#FFFFFF#000000##000000
##278E2D1.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)
#918020
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e2d;
/* rgb */ color: rgb(39, 142, 45);
/* oklch */ color: oklch(56.8% 0.163 143.8);
Tailwind
colors: {
  custom: {
    50: '#71b06b',
    500: '#278e2d',
    950: '#000000',
  },
}
SCSS
$custom: #278e2d;
$custom-light: #71b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#278e2d",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 123.495,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.16346,
    "h": 143.8
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#278E2D
secondary
#B859B2
accent
#48D7E0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #278E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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