#278E1B#278E1B

#278E1B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.174 H 141.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#278E1B
RGBrgb(39, 142, 27)
HSLhsl(114, 68%, 33%)
HSVhsv(114, 81%, 56%)
CMYKcmyk(72.5%, 0%, 81%, 44.3%)
CIE-LABlab(51.67, -50.22, 48.54)
CIE-LCHlch(51.67, 69.84, 135.97°)
OKLaboklab(56.69% -0.1369 0.1082)
OKLCHoklch(56.69% 0.174 141.7)
XYZxyz(10.7069, 19.8553, 4.3049)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E1B #821B8E
analogous
#608E1B #278E1B #1B8E48
triadic
#278E1B #1B278E #8E1B27
tetradic
#278E1B #1B608E #821B8E #8E481B
square
#278E1B #1B608E #821B8E #8E481B
split-complementary
#278E1B #481B8E #8E1B60
monochromatic
#0B2707 #195B11 #278E1B #35C125 #57DC47

Accessibility & contrast

On white

4.22
#278E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#278E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E1B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E1B#FFFFFF#000000##000000
##278E1B1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#098979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e1b;
/* rgb */ color: rgb(39, 142, 27);
/* oklch */ color: oklch(56.7% 0.174 141.7);
Tailwind
colors: {
  custom: {
    50: '#72b062',
    500: '#278e1b',
    950: '#000000',
  },
}
SCSS
$custom: #278e1b;
$custom-light: #72b062;
$custom-dark: #000000;
JSON
{
  "hex": "#278e1b",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 113.739,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.17449,
    "h": 141.7
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#278E1B
secondary
#B147BE
accent
#3DEBD9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #278E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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